11 lines
260 B
Text
11 lines
260 B
Text
=== 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
|
|
}
|