mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
10 lines
256 B
TypeScript
10 lines
256 B
TypeScript
//// [tests/cases/compiler/defaultValueInFunctionOverload1.ts] ////
|
|
|
|
//// [defaultValueInFunctionOverload1.ts]
|
|
function foo(x: string = '');
|
|
function foo(x = '') { }
|
|
|
|
//// [defaultValueInFunctionOverload1.js]
|
|
"use strict";
|
|
function foo(x = '') { }
|