mirror of
https://github.com/vale981/tridactyl
synced 2025-03-06 01:51:40 -05:00

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.
8 lines
148 B
TypeScript
8 lines
148 B
TypeScript
|
|
export interface Type {
|
|
kind: string
|
|
name?: string
|
|
toConstructor(): string
|
|
toString(): string
|
|
convert(argument: string): any
|
|
}
|