TypeScript/tests/baselines/reference/cloduleAndTypeParameters.types
2014-08-28 12:40:58 -07:00

26 lines
336 B
Plaintext

=== tests/cases/compiler/cloduleAndTypeParameters.ts ===
class Foo<T extends Foo.Bar> {
>Foo : Foo<T>
>T : T
>Foo : Foo<T>
>Bar : Foo.Bar
constructor() {
}
}
module Foo {
>Foo : typeof Foo
export interface Bar {
>Bar : Bar
bar(): void;
>bar : () => void
}
export class Baz {
>Baz : Baz
}
}