TSConfig
emitDeclarationOnly
Only emit .d.ts files; do not emit .js files.
This setting is useful in two cases:
- You are using a transpiler other than TypeScript to generate your JavaScript.
- You are using TypeScript to only generate
d.tsfiles for your consumers.