17 lines
298 B
Plaintext
17 lines
298 B
Plaintext
|
=== tests/cases/compiler/functionWithDefaultParameterWithNoStatements12.ts ===
|
||
|
var v: any[];
|
||
|
>v : any[]
|
||
|
|
||
|
function foo(a = (v)) { }
|
||
|
>foo : (a?: any[]) => void
|
||
|
>a : any[]
|
||
|
>(v) : any[]
|
||
|
>v : any[]
|
||
|
|
||
|
function bar(a = (v)) {
|
||
|
>bar : (a?: any[]) => void
|
||
|
>a : any[]
|
||
|
>(v) : any[]
|
||
|
>v : any[]
|
||
|
}
|