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