TypeScript/tests/baselines/reference/functionWithDefaultParameterWithNoStatements4.types

12 lines
545 B
Plaintext
Raw Normal View History

=== tests/cases/compiler/functionWithDefaultParameterWithNoStatements4.ts ===
function foo(a = ``) { }
2015-04-13 23:01:57 +02:00
>foo : (a?: string) => void, Symbol(foo, Decl(functionWithDefaultParameterWithNoStatements4.ts, 0, 0))
>a : string, Symbol(a, Decl(functionWithDefaultParameterWithNoStatements4.ts, 0, 13))
2015-04-13 21:36:11 +02:00
>`` : string
function bar(a = ``) {
2015-04-13 23:01:57 +02:00
>bar : (a?: string) => void, Symbol(bar, Decl(functionWithDefaultParameterWithNoStatements4.ts, 0, 24))
>a : string, Symbol(a, Decl(functionWithDefaultParameterWithNoStatements4.ts, 2, 13))
2015-04-13 21:36:11 +02:00
>`` : string
}