TypeScript/tests/baselines/reference/staticPropertyAndFunctionWithSameName.types

21 lines
690 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/conformance/classes/propertyMemberDeclarations/staticPropertyAndFunctionWithSameName.ts ===
class C {
2015-04-13 23:01:57 +02:00
>C : C, Symbol(C, Decl(staticPropertyAndFunctionWithSameName.ts, 0, 0))
2014-08-15 23:33:16 +02:00
static f: number;
2015-04-13 23:01:57 +02:00
>f : number, Symbol(C.f, Decl(staticPropertyAndFunctionWithSameName.ts, 0, 9))
2014-08-15 23:33:16 +02:00
f: number;
2015-04-13 23:01:57 +02:00
>f : number, Symbol(f, Decl(staticPropertyAndFunctionWithSameName.ts, 1, 21))
2014-08-15 23:33:16 +02:00
}
class D {
2015-04-13 23:01:57 +02:00
>D : D, Symbol(D, Decl(staticPropertyAndFunctionWithSameName.ts, 3, 1))
2014-08-15 23:33:16 +02:00
static f: number;
2015-04-13 23:01:57 +02:00
>f : number, Symbol(D.f, Decl(staticPropertyAndFunctionWithSameName.ts, 5, 9))
2014-08-15 23:33:16 +02:00
f() { }
2015-04-13 23:01:57 +02:00
>f : () => void, Symbol(f, Decl(staticPropertyAndFunctionWithSameName.ts, 6, 21))
2014-08-15 23:33:16 +02:00
}