TypeScript/tests/baselines/reference/functionWithDefaultParameterWithNoStatements6.types

12 lines
260 B
Plaintext
Raw Normal View History

=== tests/cases/compiler/functionWithDefaultParameterWithNoStatements6.ts ===
function foo(a = true) { }
>foo : (a?: boolean) => void
>a : boolean
2015-04-13 21:36:11 +02:00
>true : boolean
function bar(a = true) {
>bar : (a?: boolean) => void
>a : boolean
2015-04-13 21:36:11 +02:00
>true : boolean
}