--report-semantic-error reports wrong error for code with interface in namespace
Closed this issue · 0 comments
plantain-00 commented
Code
namespace A {
export interface C {}
}
interface B extends A.C {
}
Cannot extend an interface 'A.C'. Did you mean 'implements'?
The typescript API program.getSemanticDiagnostics(sourceFile)
reports that. microsoft/TypeScript#55729