#### 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. https://github.com/microsoft/TypeScript/issues/55729