Open brettz9 opened 1 month ago
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 :)
Description
Add a TypeScript declaration file.
Steps to Reproduce
import promise from 'eslint-plugin-promise'
eslint-plugin-promise
in VSCExpected behavior: [What you expect to happen]
Get no errors.
Actual behavior: [What actually happens]
Get errors in VSC about TS types