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