Closed
Description
What code were you trying to parse?
export default interface test {}
What did you expect to happen?
semi
should ignore the interface block.
What actually happened?
semi
wants a semicolon after the block, which then triggers the no-extra-semi
rule.
It works fine without default
:
export interface test1 {}
interface test2 {}
Versions
package | version |
---|---|
@typescript-eslint/parser |
1.0.0 |
TypeScript |
3.2.4 |
ESLint |
5.12.1 |
node |
11.7.0 |
npm |
6.5.0 |