17 lines
378 B
Text
17 lines
378 B
Text
=== tests/cases/compiler/methodSignatureDeclarationEmit1.ts ===
|
|
class C {
|
|
>C : C
|
|
|
|
public foo(n: number): void;
|
|
>foo : { (n: number): void; (s: string): void; }
|
|
>n : number
|
|
|
|
public foo(s: string): void;
|
|
>foo : { (n: number): void; (s: string): void; }
|
|
>s : string
|
|
|
|
public foo(a: any): void {
|
|
>foo : { (n: number): void; (s: string): void; }
|
|
>a : any
|
|
}
|
|
}
|