blakeembrey / tslint-config-standard

A TSLint config for JavaScript Standard Style
Other
358 stars 43 forks source link

False positive on interface: "expected onespace after colon in parameter" #24

Closed quantuminformation closed 7 years ago

quantuminformation commented 7 years ago

Not sure if I should raise here or https://github.com/palantir/tslint/issues

export interface ICodeGenerator {
  description: string
  elementAdded: (id: string) => string
  elementRemoved: (id: string) => string
  clickHappened: (queryPath: string) => string
  inputTextEdited: (queryPath: string, newValue: string) => string
  selectChange: (queryPath: string, event: Event) => string
}

gives error:

image

Using tslint 5.0.0

Edit closed, I was looking at the d.ts file(