TypeScript/tests/baselines/reference/classAndInterfaceWithSameName.errors.txt
2014-07-12 17:30:19 -07:00

17 lines
436 B
Plaintext

==== tests/cases/conformance/classes/classDeclarations/classAndInterfaceWithSameName.ts (2 errors) ====
class C { foo: string; }
interface C { foo: string; } // error
~
!!! Duplicate identifier 'C'.
module M {
class D {
bar: string;
}
interface D { // error
~
!!! Duplicate identifier 'D'.
bar: string;
}
}