Skip to content

--report-semantic-error reports wrong error for code with interface in namespace #129

@plantain-00

Description

@plantain-00

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions