eslint-plugin-promise
eslint-plugin-promise copied to clipboard
add TypeScript declaration file
Description
Add a TypeScript declaration file.
Steps to Reproduce
- Add
import promise from 'eslint-plugin-promise' - Hover over
eslint-plugin-promisein VSC
Expected behavior: [What you expect to happen]
Get no errors.
Actual behavior: [What actually happens]
Get errors in VSC about TS types
Should we go all in with checkJs: true, basically going full JavaScript+JSDoc-as-TypeScript?
Real life example from neostandard: https://github.com/neostandard/neostandard/blob/08ae5469c71def357f0202fed2be9b83f62efc5a/lib/configs/base.js#L5
Should we go all in with
checkJs: true, basically going full JavaScript+JSDoc-as-TypeScript?
I have a PR for that in another project, so I’m +1 on it
Will probably wait on #484 to begin any work here, as don't want the tooling to have to be outdated to be supported...
Agree @brettz9 👍 And I think @scagood is also interested in this topic :)
What is the status of this work? Is it still being considered or will it not be added at this time?
Or even better: rewrite with TypeScript.
What is the status of this work? Is it still being considered or will it not be added at this time?
Curious about this too.