16 lines
232 B
Text
16 lines
232 B
Text
=== tests/cases/compiler/declFileForFunctionTypeAsTypeParameter.ts ===
|
|
|
|
class X<T> {
|
|
>X : X<T>
|
|
>T : T
|
|
}
|
|
class C extends X<() => number> {
|
|
>C : C
|
|
>X : X<T>
|
|
}
|
|
interface I extends X<() => number> {
|
|
>I : I
|
|
>X : X<T>
|
|
}
|
|
|
|
|