TypeScript/tests/baselines/reference/functionWithDefaultParameterWithNoStatements3.types

10 lines
218 B
Plaintext

=== tests/cases/compiler/functionWithDefaultParameterWithNoStatements3.ts ===
function foo(a = "") { }
>foo : (a?: string) => void
>a : string
function bar(a = "") {
>bar : (a?: string) => void
>a : string
}