rushstack icon indicating copy to clipboard operation
rushstack copied to clipboard

[api-extractor] Feature Request: Auto-upgrade `module`-keyword namespaces

Open robpalme opened this issue 4 months ago • 0 comments

Summary

TypeScript 6.0 will deprecate the module-keyword for namespaces sometime around Q4 2025.

api-extractor can aid the migration to the preferred namespace syntax by always emitting the modern syntax in the generated DTS. This auto-upgrade is something TypeScript, SWC, and Oxc already do.

Details

I tried out the latest api-extractor 7.52.10 and found that it does not perform this conversion today.

robpalme avatar Aug 10 '25 08:08 robpalme