TypeScript/tests/baselines/reference/classAndInterfaceWithSameName.errors.txt

17 lines
436 B
Plaintext
Raw Normal View History

2014-07-13 01:04:16 +02:00
==== 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;
}
}