TypeScript/tests/baselines/reference/contextualTyping26.symbols

9 lines
394 B
Text
Raw Normal View History

=== tests/cases/compiler/contextualTyping26.ts ===
function foo(param:{id:number;}){}; foo(<{id:number;}>({}));
>foo : Symbol(foo, Decl(contextualTyping26.ts, 0, 0))
>param : Symbol(param, Decl(contextualTyping26.ts, 0, 13))
>id : Symbol(id, Decl(contextualTyping26.ts, 0, 20))
>foo : Symbol(foo, Decl(contextualTyping26.ts, 0, 0))
>id : Symbol(id, Decl(contextualTyping26.ts, 0, 42))