mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
15 lines
229 B
TypeScript
15 lines
229 B
TypeScript
//// [tests/cases/compiler/functionOverloads5.ts] ////
|
|
|
|
//// [functionOverloads5.ts]
|
|
class baz {
|
|
public foo();
|
|
private foo(bar?:any){ }
|
|
}
|
|
|
|
|
|
//// [functionOverloads5.js]
|
|
"use strict";
|
|
class baz {
|
|
foo(bar) { }
|
|
}
|