12 lines
260 B
Plaintext
12 lines
260 B
Plaintext
=== tests/cases/compiler/functionWithDefaultParameterWithNoStatements6.ts ===
|
|
function foo(a = true) { }
|
|
>foo : (a?: boolean) => void
|
|
>a : boolean
|
|
>true : boolean
|
|
|
|
function bar(a = true) {
|
|
>bar : (a?: boolean) => void
|
|
>a : boolean
|
|
>true : boolean
|
|
}
|