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 {
33
33
});
34
34
}
35
35
36
- static equal = (attribute: string, value: QueryTypes | any[] ): string =>
36
+ static equal = (attribute: string, value: QueryTypes): string =>
37
37
new Query("equal", attribute, value).toString();
38
38
39
- static notEqual = (attribute: string, value: QueryTypes | any[] ): string =>
39
+ static notEqual = (attribute: string, value: QueryTypes): string =>
40
40
new Query("notEqual", attribute, value).toString();
41
41
42
42
static lessThan = (attribute: string, value: QueryTypes): string =>
Original file line number Diff line number Diff line change @@ -33,10 +33,10 @@ export class Query {
33
33
});
34
34
}
35
35
36
- static equal = (attribute: string, value: QueryTypes | any[] ): string =>
36
+ static equal = (attribute: string, value: QueryTypes): string =>
37
37
new Query("equal", attribute, value).toString();
38
38
39
- static notEqual = (attribute: string, value: QueryTypes | any[] ): string =>
39
+ static notEqual = (attribute: string, value: QueryTypes): string =>
40
40
new Query("notEqual", attribute, value).toString();
41
41
42
42
static lessThan = (attribute: string, value: QueryTypes): string =>
Original file line number Diff line number Diff line change @@ -52,20 +52,20 @@ export class Query {
52
52
* Filter resources where attribute is equal to value.
53
53
*
54
54
* @param {string} attribute
55
- * @param {QueryTypes | any[] } value
55
+ * @param {QueryTypes} value
56
56
* @returns {string}
57
57
*/
58
- static equal = (attribute: string, value: QueryTypes | any[] ): string =>
58
+ static equal = (attribute: string, value: QueryTypes): string =>
59
59
new Query("equal", attribute, value).toString();
60
60
61
61
/**
62
62
* Filter resources where attribute is not equal to value.
63
63
*
64
64
* @param {string} attribute
65
- * @param {QueryTypes | any[] } value
65
+ * @param {QueryTypes} value
66
66
* @returns {string}
67
67
*/
68
- static notEqual = (attribute: string, value: QueryTypes | any[] ): string =>
68
+ static notEqual = (attribute: string, value: QueryTypes): string =>
69
69
new Query("notEqual", attribute, value).toString();
70
70
71
71
/**
You can’t perform that action at this time.
0 commit comments