Skip to content

Commit 198a83d

Browse files
committed
🔥Remove doubled literal type
1 parent 9fee9e7 commit 198a83d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

‎src/types/QueryType.ts

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
import { LiteralObject } from './Literal'
2+
13
/**
24
* @typedef {object} queryType An getQL JSON query type
35
* @prop {string} [name] Query name (it is needed when there are multiple queries)
@@ -35,10 +37,7 @@ export type QueryOperation = {
3537

3638
export type ArgObject = {
3739
[name: string]: string | ArgObject
38-
} | {
39-
value: string
40-
escape: boolean
41-
}
40+
} | LiteralObject
4241

4342
/**
4443
* @typedef {object} fieldObj Field properties

0 commit comments

Comments
 (0)