TypeScript/tests/baselines/reference/cloduleAndTypeParameters.types

26 lines
333 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/cloduleAndTypeParameters.ts ===
class Foo<T extends Foo.Bar> {
>Foo : Foo<T>
>T : T
>Foo : any
>Bar : Foo.Bar
2014-08-15 23:33:16 +02:00
constructor() {
}
}
module Foo {
>Foo : typeof Foo
2014-08-15 23:33:16 +02:00
export interface Bar {
>Bar : Bar
2014-08-15 23:33:16 +02:00
bar(): void;
>bar : () => void
2014-08-15 23:33:16 +02:00
}
export class Baz {
>Baz : Baz
2014-08-15 23:33:16 +02:00
}
}