You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Declaration emit produces a syntax error (export default namespace) for expando members of a JS export default class #65731
The tested TypeScript version is 7.1.0-dev.20261129.1 (also 7.0.2). This is a regression: 6.0.3 emits a valid declaration file.
User Goal
The user's project failed to type-check after upgrading a dependency whose published .d.ts, generated by tsc from JavaScript, contained a syntax error. The user asked me to find out whether this is a TypeScript bug.
Activity