You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
class Test {
private test(a: string);
private test(a: number);
private test(a: any) {
console.log(a);
}
public test2(a: string);
public test2(a: number);
public test2(a: any) {
console.log(a);
}
}
new Test();
is compiled with the --declaration flag the output is:
declare class Test {
private test(a);
private test(a);
test2(a: string): any;
test2(a: number): any;
}