TypeScript/tests/cases/conformance/classes/classDeclarations/classAndInterfaceWithSameName.ts

12 lines
165 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
class C { foo: string; }
2015-10-17 01:29:11 +02:00
interface C { foo: string; }
2014-07-13 01:04:16 +02:00
module M {
class D {
bar: string;
}
2015-10-17 01:29:11 +02:00
interface D {
2014-07-13 01:04:16 +02:00
bar: string;
}
}