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