TypeScript/tests/baselines/reference/staticAndNonStaticPropertiesSameName.types

17 lines
597 B
Plaintext
Raw Normal View History

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