Support generating declarations maps #264
segevfiner
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
tsc supports generating a .d.ts.map (declaration map) files that greatly help in IDE experience in monorepos as they allow to jump to source instead of built types. It would be nice to support generating those from this plugin
https://www.typescriptlang.org/tsconfig#declarationMap
The feature that can get jump to source working using project references without this doesn't work well with bundlers as tsserver can't figure out that dist/something.js is built from src/index.js when not built by tsc.
Beta Was this translation helpful? Give feedback.
All reactions