Closed
Description
Search Terms
Suggestion
we can use export as namespace
in .d.ts
but if .d.ts is create by tsconfig.json compilerOptions declaration=true
then we can't make .d.ts have export as namespace
so i hope can allow use export as namespace in .ts
Use Cases
Examples
Checklist
My suggestion meets these guidelines:
- This wouldn't be a breaking change in existing TypeScript / JavaScript code
- This wouldn't change the runtime behavior of existing JavaScript code
- This could be implemented without emitting different JS based on the types of the expressions
- This isn't a runtime feature (e.g. new expression-level syntax)