fix(core): update

This commit is contained in:
2020-11-24 18:53:28 +00:00
parent 42b59c109d
commit ae47276569
4 changed files with 25 additions and 12 deletions

View File

@ -24,7 +24,10 @@ export class InterestMap<DTInterestId, DTInterestFullfillment> {
*/
private comparisonFunc: IInterestComparisonFunc<DTInterestId>;
constructor(comparisonFuncArg: IInterestComparisonFunc<DTInterestId>, optionsArg: IInterestMapOptions = {}) {
constructor(
comparisonFuncArg: IInterestComparisonFunc<DTInterestId>,
optionsArg: IInterestMapOptions = {}
) {
this.comparisonFunc = comparisonFuncArg;
this.options = optionsArg;
}
@ -45,7 +48,7 @@ export class InterestMap<DTInterestId, DTInterestFullfillment> {
this.comparisonFunc,
{
markLostAfterDefault: this.options.markLostAfterDefault,
defaultFullfillment: defaultFullfillmentArg
defaultFullfillment: defaultFullfillmentArg,
}
);
let interestExists = false;