21 lines
690 B
Plaintext
21 lines
690 B
Plaintext
=== tests/cases/conformance/classes/propertyMemberDeclarations/staticPropertyAndFunctionWithSameName.ts ===
|
|
class C {
|
|
>C : C, Symbol(C, Decl(staticPropertyAndFunctionWithSameName.ts, 0, 0))
|
|
|
|
static f: number;
|
|
>f : number, Symbol(C.f, Decl(staticPropertyAndFunctionWithSameName.ts, 0, 9))
|
|
|
|
f: number;
|
|
>f : number, Symbol(f, Decl(staticPropertyAndFunctionWithSameName.ts, 1, 21))
|
|
}
|
|
|
|
class D {
|
|
>D : D, Symbol(D, Decl(staticPropertyAndFunctionWithSameName.ts, 3, 1))
|
|
|
|
static f: number;
|
|
>f : number, Symbol(D.f, Decl(staticPropertyAndFunctionWithSameName.ts, 5, 9))
|
|
|
|
f() { }
|
|
>f : () => void, Symbol(f, Decl(staticPropertyAndFunctionWithSameName.ts, 6, 21))
|
|
}
|