TypeScript/tests/baselines/reference/cloduleAndTypeParameters.types

26 lines
337 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 : unknown
2014-08-25 19:36:12 +02:00
>Bar : Foo.Bar
2014-08-15 23:33:16 +02:00
constructor() {
}
}
module Foo {
2014-08-28 21:40:58 +02:00
>Foo : typeof Foo
2014-08-15 23:33:16 +02:00
export interface Bar {
>Bar : Bar
bar(): void;
>bar : () => void
}
export class Baz {
>Baz : Baz
}
}