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 }