12 lines
268 B
Plaintext
12 lines
268 B
Plaintext
|
=== 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
|
||
|
}
|