2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/cloduleAndTypeParameters.ts ===
|
|
|
|
class Foo<T extends Foo.Bar> {
|
|
|
|
>Foo : Foo<T>
|
|
|
|
>T : T
|
2014-11-11 04:19:33 +01:00
|
|
|
>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
|
|
|
|
}
|
|
|
|
}
|