format
This commit is contained in:
parent
d19106f805
commit
fabe38c0a6
1 changed files with 3 additions and 3 deletions
|
@ -54,13 +54,13 @@ const FilterList = {
|
||||||
},
|
},
|
||||||
define(filterName: string, value: string) {
|
define(filterName: string, value: string) {
|
||||||
/* @ts-ignore */
|
/* @ts-ignore */
|
||||||
if (typeof this[filterName] !== "string") return;
|
if (typeof this[filterName] !== 'string') return;
|
||||||
|
|
||||||
/* @ts-ignore */
|
/* @ts-ignore */
|
||||||
this[filterName] = value;
|
this[filterName] = value;
|
||||||
},
|
},
|
||||||
defineBulk(filterArray: { name: string, value: string }[]) {
|
defineBulk(filterArray: { name: string; value: string }[]) {
|
||||||
filterArray.forEach(arr => this.define(arr.name, arr.value));
|
filterArray.forEach((arr) => this.define(arr.name, arr.value));
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue