diff --git a/src/Logic/Tags/And.ts b/src/Logic/Tags/And.ts index 57c6ac3ba..f28e65065 100644 --- a/src/Logic/Tags/And.ts +++ b/src/Logic/Tags/And.ts @@ -78,7 +78,7 @@ export class And extends TagsFilter { return { and: this.and.map((a) => a.asJson()) } } - asHumanString(linkToWiki: boolean, shorten: boolean, properties: Record) { + asHumanString(linkToWiki?: boolean, shorten?: boolean, properties?: Record) { return this.and .map((t) => { let e = t.asHumanString(linkToWiki, shorten, properties) diff --git a/src/Logic/Tags/SubstitutingTag.ts b/src/Logic/Tags/SubstitutingTag.ts index acdda6835..492243720 100644 --- a/src/Logic/Tags/SubstitutingTag.ts +++ b/src/Logic/Tags/SubstitutingTag.ts @@ -43,7 +43,7 @@ export default class SubstitutingTag extends TagsFilter { return new Tag(this._key, Utils.SubstituteKeys(this._value, currentProperties)) } - asHumanString(linkToWiki: boolean, shorten: boolean, properties) { + asHumanString(linkToWiki?: boolean, shorten?: boolean, properties?: Record) { return ( this._key + (this._invert ? "!" : "") +