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
Exported namespace class suppresses TS1308 for await in computed member names #63712
This is fixed in TypeScript 7.1.0-dev.20260811.1 and current native builds. Both class A { [await x]() {} } and export class B { [await x]() {} } inside the namespace now report TS1308.
The change was made by microsoft/typescript-go#4823, which preserves the enclosing await context for exported classes in nested containers.
Activity
KumJungMin commentedon Aug 11, 2026
Hi! I'd be interested in working on this issue if no one is already working on it :)
RyanCavanaugh commentedon Sep 19, 2026
This is fixed in TypeScript 7.1.0-dev.20260811.1 and current native builds. Both
class A { [await x]() {} }andexport class B { [await x]() {} }inside the namespace now report TS1308.The change was made by microsoft/typescript-go#4823, which preserves the enclosing await context for exported classes in nested containers.