TypeScript/tests/cases/compiler/functionOverloads7.ts
2014-07-12 17:30:19 -07:00

10 lines
190 B
TypeScript

class foo {
private bar();
private bar(foo: string);
private bar(foo?: any){ return "foo" }
public n() {
var foo = this.bar();
foo = this.bar("test");
}
}