- Clone this repo
- Run
npm i
- Run
npm run lint
- You'll see an error reported that the type defined in src/index.ts should be an interface instead
- Run
npm run lint -- --fix
- You'll see a new syntax error reported. Open src/index.ts to see the problem: the rule left behind a parenthesis that it shouldn't have
-
Notifications
You must be signed in to change notification settings - Fork 0
rdecoito/repro-consistent-type-definitions
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
A minimum repository to reproduce an error reported in a typescript-eslint ticket
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published