9 lines
394 B
Text
9 lines
394 B
Text
|
=== tests/cases/compiler/contextualTyping25.ts ===
|
||
|
function foo(param:{id:number;}){}; foo(<{id:number;}>({}));
|
||
|
>foo : Symbol(foo, Decl(contextualTyping25.ts, 0, 0))
|
||
|
>param : Symbol(param, Decl(contextualTyping25.ts, 0, 13))
|
||
|
>id : Symbol(id, Decl(contextualTyping25.ts, 0, 20))
|
||
|
>foo : Symbol(foo, Decl(contextualTyping25.ts, 0, 0))
|
||
|
>id : Symbol(id, Decl(contextualTyping25.ts, 0, 42))
|
||
|
|