11 lines
242 B
Text
11 lines
242 B
Text
=== tests/cases/compiler/functionWithDefaultParameterWithNoStatements5.ts ===
|
|
function foo(a = 0) { }
|
|
>foo : (a?: number) => void
|
|
>a : number
|
|
>0 : number
|
|
|
|
function bar(a = 0) {
|
|
>bar : (a?: number) => void
|
|
>a : number
|
|
>0 : number
|
|
}
|