Last 12 weeks · 5 commits
2 of 6 standards met
Repository: sveltejs/dts-buddy. Description: WORK IN PROGRESS DO NOT USE Stars: 350, Forks: 19. Primary language: JavaScript. Languages: JavaScript (95.7%), TypeScript (4.3%). License: MIT. Latest release: v0.7.0 (5d ago). Open PRs: 5, open issues: 13. Last activity: 5d ago. Community health: 50%. Top contributors: Rich-Harris, dominikg, benmccann, dummdidumm, github-actions[bot], gtm-nayan, jasonlyu123, coreprocess, codewithcheese.
This PR makes a change that preserves comments to correctly ignore imported generated types that can't be resolved during compilation. It also tries to preserve the jsdoc type imports to modules that can't be resolved. The sourcemaps don't work for the imports in both of these situations, but shouldn't matter since ctrl+clicking them wouldn't lead anywhere anyway. Typically, comments such as are not preserved in the emitted declarations, with no way to turn this on/off https://github.com/microsoft/TypeScript/issues/38628 However, multi-line comments that look like jsdoc are preserved .