TypeScript Version: 3.4.0-dev.201xxxxx
Search Terms:
Code
// @ts-check
class Foo {
static Bar = class<T> {
/** @type {number} */
x;
};
}
Expected behavior:
Error on <T>
Actual behavior:
No error.
getJSSyntacticDiagnosticsForFile in program.ts seems to be missing something.