7 lines
134 B
TypeScript
7 lines
134 B
TypeScript
|
// @declaration: true
|
||
|
class C {
|
||
|
public foo(n: number): void;
|
||
|
public foo(s: string): void;
|
||
|
public foo(a: any): void {
|
||
|
}
|
||
|
}
|