TypeScript/tests/baselines/reference/functionWithDefaultParameterWithNoStatements6.types

10 lines
226 B
Text
Raw Normal View History

=== 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
}