TypeScript/tests/baselines/reference/genericCallWithNonGenericArgs1.types

12 lines
449 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/genericCallWithNonGenericArgs1.ts ===
function f<T>(x: any) { }
2015-04-13 23:01:57 +02:00
>f : <T>(x: any) => void, Symbol(f, Decl(genericCallWithNonGenericArgs1.ts, 0, 0))
>T : T, Symbol(T, Decl(genericCallWithNonGenericArgs1.ts, 0, 11))
>x : any, Symbol(x, Decl(genericCallWithNonGenericArgs1.ts, 0, 14))
2014-08-15 23:33:16 +02:00
f<any>(null)
>f<any>(null) : void
2015-04-13 23:01:57 +02:00
>f : <T>(x: any) => void, Symbol(f, Decl(genericCallWithNonGenericArgs1.ts, 0, 0))
2015-04-13 21:36:11 +02:00
>null : null
2014-08-15 23:33:16 +02:00