11 lines
268 B
Text
11 lines
268 B
Text
=== tests/cases/compiler/functionWithDefaultParameterWithNoStatements8.ts ===
|
|
function foo(a = undefined) { }
|
|
>foo : (a?: any) => void
|
|
>a : any
|
|
>undefined : undefined
|
|
|
|
function bar(a = undefined) {
|
|
>bar : (a?: any) => void
|
|
>a : any
|
|
>undefined : undefined
|
|
}
|