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
Type annotations cause contextual this in object literal returned from an async function to be inferred as Promise<This> | This #64954
This bug exists down to typescript 3.3.3333, which is the earliest version available in the playground.
(I think the playground wrongly displays 3.3.3 version as 3.3.3333)
changed the title [-]Type annotations cause contextual `this` in object literal returned from an async function type as Promise<This> | This[/-][+]Type annotations cause contextual `this` in object literal returned from an async function being inferred as `Promise<This> | This`[/+]on Oct 25, 2026
changed the title [-]Type annotations cause contextual `this` in object literal returned from an async function being inferred as `Promise<This> | This`[/-][+]Type annotations cause contextual `this` in object literal returned from an async function to be inferred as `Promise<This> | This`[/+]on Oct 25, 2026
Activity
[-]Type annotations cause contextual `this` in object literal returned from an async function type as Promise<This> | This[/-][+]Type annotations cause contextual `this` in object literal returned from an async function being inferred as `Promise<This> | This`[/+][-]Type annotations cause contextual `this` in object literal returned from an async function being inferred as `Promise<This> | This`[/-][+]Type annotations cause contextual `this` in object literal returned from an async function to be inferred as `Promise<This> | This`[/+]