mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
11 lines
431 B
Plaintext
11 lines
431 B
Plaintext
//// [tests/cases/compiler/contextualTyping25.ts] ////
|
|
|
|
=== 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))
|
|
|