tridactyl/compiler/types/Type.ts
glacambre 923f9caf92
TSLint: enable no-unused-declaration rule
This rule requires adding a new set of rules, tslint-etc.
no-unused-declaration used to be available in tslint:recommended but was
deprecated when --noUnusedVariables was added to typescript. The problem
with using TypeScript's --noUnusedVariables is that it turns unused
declarations into an error and prevents compilation, which isn't fun
when you're just prototyping things.
2019-04-16 08:30:31 +02:00

8 lines
148 B
TypeScript

export interface Type {
kind: string
name?: string
toConstructor(): string
toString(): string
convert(argument: string): any
}