TypeScript/tests/baselines/reference/functionWithDefaultParameterWithNoStatements12.types

17 lines
824 B
Plaintext
Raw Normal View History

=== tests/cases/compiler/functionWithDefaultParameterWithNoStatements12.ts ===
var v: any[];
2015-04-13 23:01:57 +02:00
>v : any[], Symbol(v, Decl(functionWithDefaultParameterWithNoStatements12.ts, 0, 3))
function foo(a = (v)) { }
2015-04-13 23:01:57 +02:00
>foo : (a?: any[]) => void, Symbol(foo, Decl(functionWithDefaultParameterWithNoStatements12.ts, 0, 13))
>a : any[], Symbol(a, Decl(functionWithDefaultParameterWithNoStatements12.ts, 2, 13))
>(v) : any[]
2015-04-13 23:01:57 +02:00
>v : any[], Symbol(v, Decl(functionWithDefaultParameterWithNoStatements12.ts, 0, 3))
function bar(a = (v)) {
2015-04-13 23:01:57 +02:00
>bar : (a?: any[]) => void, Symbol(bar, Decl(functionWithDefaultParameterWithNoStatements12.ts, 2, 25))
>a : any[], Symbol(a, Decl(functionWithDefaultParameterWithNoStatements12.ts, 4, 13))
>(v) : any[]
2015-04-13 23:01:57 +02:00
>v : any[], Symbol(v, Decl(functionWithDefaultParameterWithNoStatements12.ts, 0, 3))
}