File tree Expand file tree Collapse file tree 3 files changed +12
-12
lines changed Expand file tree Collapse file tree 3 files changed +12
-12
lines changed Original file line number Diff line number Diff line change @@ -36,11 +36,11 @@ export class Query {
36
36
static cursorBefore = (documentId: string): string =>
37
37
`cursorBefore("${documentId}")`;
38
38
39
- static limit = (value : number): string =>
40
- `limit(${value })`;
39
+ static limit = (limit : number): string =>
40
+ `limit(${limit })`;
41
41
42
- static offset = (value : number): string =>
43
- `offset(${value })`;
42
+ static offset = (offset : number): string =>
43
+ `offset(${offset })`;
44
44
45
45
private static addQuery = (attribute: string, method: string, value: QueryTypes): string =>
46
46
value instanceof Array
Original file line number Diff line number Diff line change @@ -32,11 +32,11 @@ class Query {
32
32
static cursorBefore = (documentId) =>
33
33
`cursorBefore("${documentId}")`;
34
34
35
- static limit = (value ) =>
36
- `limit(${value })`;
35
+ static limit = (limit ) =>
36
+ `limit(${limit })`;
37
37
38
- static offset = (value ) =>
39
- `offset(${value })`;
38
+ static offset = (offset ) =>
39
+ `offset(${offset })`;
40
40
41
41
static addQuery = (attribute, method, value) =>
42
42
value instanceof Array
Original file line number Diff line number Diff line change @@ -36,11 +36,11 @@ export class Query {
36
36
static cursorBefore = (documentId: string): string =>
37
37
`cursorBefore("${documentId}")`;
38
38
39
- static limit = (value : number): string =>
40
- `limit(${value })`;
39
+ static limit = (limit : number): string =>
40
+ `limit(${limit })`;
41
41
42
- static offset = (value : number): string =>
43
- `offset(${value })`;
42
+ static offset = (offset : number): string =>
43
+ `offset(${offset })`;
44
44
45
45
private static addQuery = (attribute: string, method: string, value: QueryTypes): string =>
46
46
value instanceof Array
You can’t perform that action at this time.
0 commit comments