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

12 lines
268 B
Plaintext

=== tests/cases/compiler/functionWithDefaultParameterWithNoStatements8.ts ===
function foo(a = undefined) { }
>foo : (a?: any) => void
>a : any
>undefined : undefined
function bar(a = undefined) {
>bar : (a?: any) => void
>a : any
>undefined : undefined
}