14 lines
606 B
Text
14 lines
606 B
Text
=== tests/cases/compiler/typeInferenceFixEarly.ts ===
|
|
declare function f<T>(p: (t: T) => T): T;
|
|
>f : Symbol(f, Decl(typeInferenceFixEarly.ts, 0, 0))
|
|
>T : Symbol(T, Decl(typeInferenceFixEarly.ts, 0, 19))
|
|
>p : Symbol(p, Decl(typeInferenceFixEarly.ts, 0, 22))
|
|
>t : Symbol(t, Decl(typeInferenceFixEarly.ts, 0, 26))
|
|
>T : Symbol(T, Decl(typeInferenceFixEarly.ts, 0, 19))
|
|
>T : Symbol(T, Decl(typeInferenceFixEarly.ts, 0, 19))
|
|
>T : Symbol(T, Decl(typeInferenceFixEarly.ts, 0, 19))
|
|
|
|
f(n => 3);
|
|
>f : Symbol(f, Decl(typeInferenceFixEarly.ts, 0, 0))
|
|
>n : Symbol(n, Decl(typeInferenceFixEarly.ts, 2, 2))
|
|
|