We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
nothing
function f() { var x: string | undefined = undefined; y = 0; if (x) { var y: typeof x; } return y; // y has type nothing }
generates invalid .d.ts file
declare function f(): nothing;
this is a regression introduced by #8340