tridactyl/compiler/types/Type.ts

13 lines
267 B
TypeScript
Raw Normal View History

export interface Type {
// Only available on argument types
name?: string
isDotDotDot?: boolean
isQuestion?: boolean
// available everywhere
kind: string
toConstructor(): string
toString(): string
convert(argument: string): any
}