TypeScript/tests/baselines/reference/functionWithDefaultParameterWithNoStatements4.types

10 lines
218 B
Plaintext

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