TypeScript/tests/baselines/reference/functionWithDefaultParameterWithNoStatements6.types
2015-04-15 16:44:20 -07:00

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
}