12 lines
545 B
Plaintext
12 lines
545 B
Plaintext
=== tests/cases/compiler/functionWithDefaultParameterWithNoStatements4.ts ===
|
|
function foo(a = ``) { }
|
|
>foo : (a?: string) => void, Symbol(foo, Decl(functionWithDefaultParameterWithNoStatements4.ts, 0, 0))
|
|
>a : string, Symbol(a, Decl(functionWithDefaultParameterWithNoStatements4.ts, 0, 13))
|
|
>`` : string
|
|
|
|
function bar(a = ``) {
|
|
>bar : (a?: string) => void, Symbol(bar, Decl(functionWithDefaultParameterWithNoStatements4.ts, 0, 24))
|
|
>a : string, Symbol(a, Decl(functionWithDefaultParameterWithNoStatements4.ts, 2, 13))
|
|
>`` : string
|
|
}
|