This commit is contained in:
Snowflake107 2021-04-06 21:31:48 +05:45
parent d19106f805
commit fabe38c0a6

View file

@ -54,13 +54,13 @@ const FilterList = {
},
define(filterName: string, value: string) {
/* @ts-ignore */
if (typeof this[filterName] !== "string") return;
if (typeof this[filterName] !== 'string') return;
/* @ts-ignore */
this[filterName] = value;
},
defineBulk(filterArray: { name: string, value: string }[]) {
filterArray.forEach(arr => this.define(arr.name, arr.value));
defineBulk(filterArray: { name: string; value: string }[]) {
filterArray.forEach((arr) => this.define(arr.name, arr.value));
}
};