From dd5a009d0f74c7b5bb48bd6670fb4804da505c40 Mon Sep 17 00:00:00 2001 From: Phil Kunz Date: Sat, 15 Feb 2020 21:25:49 +0000 Subject: [PATCH] fix(core): update --- ts/index.ts | 5 +---- ts/lik.interestmap.ts | 4 ++-- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/ts/index.ts b/ts/index.ts index c1d9766..7610bb2 100644 --- a/ts/index.ts +++ b/ts/index.ts @@ -1,7 +1,4 @@ -import * as plugins from './lik.plugins'; - -// import modules - +export * from './lik.fastmap'; export * from './lik.interestmap'; export * from './lik.limitedarray'; export * from './lik.looptracker'; diff --git a/ts/lik.interestmap.ts b/ts/lik.interestmap.ts index 9684599..af0a607 100644 --- a/ts/lik.interestmap.ts +++ b/ts/lik.interestmap.ts @@ -106,8 +106,8 @@ export class InterestMap { */ public findInterest(objectArg: DTInterestId): Interest { const comparableString = this.comparisonFunc(objectArg); - const interest = this.interestObjectMap.find(interest => { - return interest.comparisonString === comparableString; + const interest = this.interestObjectMap.find(interestArg => { + return interestArg.comparisonString === comparableString; }); return interest; // if an interest is found, the interest is returned, otherwise interest is null }