File tree Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Expand file tree Collapse file tree 3 files changed +8
-8
lines changed Original file line number Diff line number Diff line change @@ -33,10 +33,10 @@ export class Query {
3333 });
3434 }
3535
36- static equal = (attribute: string, value: QueryTypes | any[] ): string =>
36+ static equal = (attribute: string, value: QueryTypes): string =>
3737 new Query("equal", attribute, value).toString();
3838
39- static notEqual = (attribute: string, value: QueryTypes | any[] ): string =>
39+ static notEqual = (attribute: string, value: QueryTypes): string =>
4040 new Query("notEqual", attribute, value).toString();
4141
4242 static lessThan = (attribute: string, value: QueryTypes): string =>
Original file line number Diff line number Diff line change @@ -33,10 +33,10 @@ export class Query {
3333 });
3434 }
3535
36- static equal = (attribute: string, value: QueryTypes | any[] ): string =>
36+ static equal = (attribute: string, value: QueryTypes): string =>
3737 new Query("equal", attribute, value).toString();
3838
39- static notEqual = (attribute: string, value: QueryTypes | any[] ): string =>
39+ static notEqual = (attribute: string, value: QueryTypes): string =>
4040 new Query("notEqual", attribute, value).toString();
4141
4242 static lessThan = (attribute: string, value: QueryTypes): string =>
Original file line number Diff line number Diff line change @@ -52,20 +52,20 @@ export class Query {
5252 * Filter resources where attribute is equal to value.
5353 *
5454 * @param {string} attribute
55- * @param {QueryTypes | any[] } value
55+ * @param {QueryTypes} value
5656 * @returns {string}
5757 */
58- static equal = (attribute: string, value: QueryTypes | any[] ): string =>
58+ static equal = (attribute: string, value: QueryTypes): string =>
5959 new Query("equal", attribute, value).toString();
6060
6161 /**
6262 * Filter resources where attribute is not equal to value.
6363 *
6464 * @param {string} attribute
65- * @param {QueryTypes | any[] } value
65+ * @param {QueryTypes} value
6666 * @returns {string}
6767 */
68- static notEqual = (attribute: string, value: QueryTypes | any[] ): string =>
68+ static notEqual = (attribute: string, value: QueryTypes): string =>
6969 new Query("notEqual", attribute, value).toString();
7070
7171 /**
You can’t perform that action at this time.
0 commit comments