TypeScript/tests/baselines/reference/functionWithDefaultParameterWithNoStatements5.types

10 lines
216 B
Plaintext

=== tests/cases/compiler/functionWithDefaultParameterWithNoStatements5.ts ===
function foo(a = 0) { }
>foo : (a?: number) => void
>a : number
function bar(a = 0) {
>bar : (a?: number) => void
>a : number
}