TypeScript/tests/baselines/reference/contextualTyping25.symbols

9 lines
394 B
Plaintext
Raw Normal View History

=== 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))