Declaration Maps: Debugging Through .d.ts Into the TypeScript You Published
declarationMap and sourceMap for libraries: jumping from consumer code to your src, and the publish files you must not forget.
1 min read
Tag
2 articles · 3 min of reading
declarationMap and sourceMap for libraries: jumping from consumer code to your src, and the publish files you must not forget.
Numeric enums, const enums, and string unions: tree-shaking, isolatedModules, and why published .d.ts should usually avoid open-ended enums.