TypeScript through JSDoc RFC
There is an Request For Comments regarding using TypeScript to check the code across the unified projects (vfile, unified, remark, rehype, etc) using JSDoc comments to drive the typings. https://github.com/unifiedjs/rfcs/pull/5 Feedback on the PR is welcome!
Where should we put @types/unist?
Where should we put it for our modules? We have two choices dependencies and devDependencies . If we put in dependencies, Users will have multiple types/unist so they should run npm run dedupe to discard duplicated type definition modules. …