17 lines
941 B
Text
17 lines
941 B
Text
=== tests/cases/compiler/methodSignatureDeclarationEmit1.ts ===
|
|
class C {
|
|
>C : Symbol(C, Decl(methodSignatureDeclarationEmit1.ts, 0, 0))
|
|
|
|
public foo(n: number): void;
|
|
>foo : Symbol(foo, Decl(methodSignatureDeclarationEmit1.ts, 0, 9), Decl(methodSignatureDeclarationEmit1.ts, 1, 30), Decl(methodSignatureDeclarationEmit1.ts, 2, 30))
|
|
>n : Symbol(n, Decl(methodSignatureDeclarationEmit1.ts, 1, 13))
|
|
|
|
public foo(s: string): void;
|
|
>foo : Symbol(foo, Decl(methodSignatureDeclarationEmit1.ts, 0, 9), Decl(methodSignatureDeclarationEmit1.ts, 1, 30), Decl(methodSignatureDeclarationEmit1.ts, 2, 30))
|
|
>s : Symbol(s, Decl(methodSignatureDeclarationEmit1.ts, 2, 13))
|
|
|
|
public foo(a: any): void {
|
|
>foo : Symbol(foo, Decl(methodSignatureDeclarationEmit1.ts, 0, 9), Decl(methodSignatureDeclarationEmit1.ts, 1, 30), Decl(methodSignatureDeclarationEmit1.ts, 2, 30))
|
|
>a : Symbol(a, Decl(methodSignatureDeclarationEmit1.ts, 3, 13))
|
|
}
|
|
}
|