mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
12 lines
540 B
Plaintext
12 lines
540 B
Plaintext
//// [tests/cases/compiler/defaultValueInFunctionOverload1.ts] ////
|
|
|
|
=== defaultValueInFunctionOverload1.ts ===
|
|
function foo(x: string = '');
|
|
>foo : Symbol(foo, Decl(defaultValueInFunctionOverload1.ts, 0, 0), Decl(defaultValueInFunctionOverload1.ts, 0, 29))
|
|
>x : Symbol(x, Decl(defaultValueInFunctionOverload1.ts, 0, 13))
|
|
|
|
function foo(x = '') { }
|
|
>foo : Symbol(foo, Decl(defaultValueInFunctionOverload1.ts, 0, 0), Decl(defaultValueInFunctionOverload1.ts, 0, 29))
|
|
>x : Symbol(x, Decl(defaultValueInFunctionOverload1.ts, 1, 13))
|
|
|