We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
From #15102 (comment)
This is still showing errors if the class and its use are in separate files.
a.ts
let foo: typeof C;
b.ts
class C {}
tsconfig.json
{ "compilerOptions": { "outFile": "foo" } }
Shows: src/a.ts(1,17): error TS2449: Class 'C' used before its declaration.
src/a.ts(1,17): error TS2449: Class 'C' used before its declaration.
From #15102 (comment)
This is still showing errors if the class and its use are in separate files.
a.ts
b.ts
tsconfig.json
{ "compilerOptions": { "outFile": "foo" } }Shows:
src/a.ts(1,17): error TS2449: Class 'C' used before its declaration.