6 lines
161 B
Text
6 lines
161 B
Text
=== tests/cases/compiler/functionWithDefaultParameterWithNoStatements1.ts ===
|
|
function foo(x = 0) { }
|
|
>foo : (x?: number) => void
|
|
>x : number
|
|
>0 : number
|
|
|