TypeScript/tests/baselines/reference/duplicateAnonymousInners1.types

34 lines
509 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/duplicateAnonymousInners1.ts ===
module Foo {
>Foo : typeof Foo
class Helper {
>Helper : Helper
}
class Inner {}
>Inner : Inner
// Inner should show up in intellisense
export var Outer=0;
>Outer : number
}
module Foo {
>Foo : typeof Foo
// Should not be an error
class Helper {
>Helper : Helper
}
// Inner should not show up in intellisense
// Outer should show up in intellisense
}