2014-08-15 23:33:16 +02:00
|
|
|
=== tests/cases/compiler/declFileForFunctionTypeAsTypeParameter.ts ===
|
|
|
|
|
|
|
|
class X<T> {
|
2015-04-13 22:54:22 +02:00
|
|
|
>X : X<T>, Symbol(X,Decl(declFileForFunctionTypeAsTypeParameter.ts,0,0))
|
|
|
|
>T : T, Symbol(T,Decl(declFileForFunctionTypeAsTypeParameter.ts,1,8))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
class C extends X<() => number> {
|
2015-04-13 22:54:22 +02:00
|
|
|
>C : C, Symbol(C,Decl(declFileForFunctionTypeAsTypeParameter.ts,2,1))
|
|
|
|
>X : X<T>, Symbol(X,Decl(declFileForFunctionTypeAsTypeParameter.ts,0,0))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
interface I extends X<() => number> {
|
2015-04-13 22:54:22 +02:00
|
|
|
>I : I, Symbol(I,Decl(declFileForFunctionTypeAsTypeParameter.ts,4,1))
|
|
|
|
>X : X<T>, Symbol(X,Decl(declFileForFunctionTypeAsTypeParameter.ts,0,0))
|
2014-08-15 23:33:16 +02:00
|
|
|
}
|
|
|
|
|
|
|
|
|