mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
9 lines
309 B
Plaintext
9 lines
309 B
Plaintext
//// [tests/cases/compiler/contextualTyping30.ts] ////
|
|
|
|
=== contextualTyping30.ts ===
|
|
function foo(param:number[]){}; foo([1, "a"]);
|
|
>foo : Symbol(foo, Decl(contextualTyping30.ts, 0, 0))
|
|
>param : Symbol(param, Decl(contextualTyping30.ts, 0, 13))
|
|
>foo : Symbol(foo, Decl(contextualTyping30.ts, 0, 0))
|
|
|