Remove overspeicialized arg type definitions
parent
d58c063fb2
commit
dbe16c4ada
|
@ -78,24 +78,12 @@ export interface Func {
|
||||||
id: string
|
id: string
|
||||||
}
|
}
|
||||||
|
|
||||||
export type Arg = ArgString | ArgBool | ArgObject
|
export type Arg = ArgString
|
||||||
|
|
||||||
export interface ArgString {
|
export interface ArgString {
|
||||||
key: string
|
key: string
|
||||||
value: string
|
value: string
|
||||||
type: 'string'
|
type: string
|
||||||
}
|
|
||||||
|
|
||||||
export interface ArgBool {
|
|
||||||
key: string
|
|
||||||
value: boolean
|
|
||||||
type: 'bool'
|
|
||||||
}
|
|
||||||
|
|
||||||
export interface ArgObject {
|
|
||||||
key: string
|
|
||||||
value: {[x: string]: string}
|
|
||||||
type: 'object'
|
|
||||||
}
|
}
|
||||||
|
|
||||||
interface FlatExpression {
|
interface FlatExpression {
|
||||||
|
|
Loading…
Reference in New Issue