9 lines
228 B
Text
9 lines
228 B
Text
|
=== tests/cases/compiler/contextualTyping29.ts ===
|
||
|
function foo(param:number[]){}; foo([1, 3]);
|
||
|
>foo : (param: number[]) => void
|
||
|
>param : number[]
|
||
|
>foo([1, 3]) : void
|
||
|
>foo : (param: number[]) => void
|
||
|
>[1, 3] : number[]
|
||
|
|