TypeScript/tests/baselines/reference/noImplicitAnyAndPrivateMembersWithoutTypeAnnotations.types

19 lines
584 B
Plaintext
Raw Normal View History

2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/app.ts ===
/// <reference path="test.d.ts" />
var x = new Something();
2015-04-13 23:01:57 +02:00
>x : Something, Symbol(x, Decl(app.ts, 1, 3))
2014-08-15 23:33:16 +02:00
>new Something() : Something
2015-04-13 23:01:57 +02:00
>Something : typeof Something, Symbol(Something, Decl(test.d.ts, 0, 0))
2014-08-15 23:33:16 +02:00
=== tests/cases/compiler/test.d.ts ===
declare class Something
2015-04-13 23:01:57 +02:00
>Something : Something, Symbol(Something, Decl(test.d.ts, 0, 0))
2014-08-15 23:33:16 +02:00
{
private static someStaticVar;
2015-04-13 23:01:57 +02:00
>someStaticVar : any, Symbol(Something.someStaticVar, Decl(test.d.ts, 1, 1))
2014-08-15 23:33:16 +02:00
private someVar;
2015-04-13 23:01:57 +02:00
>someVar : any, Symbol(someVar, Decl(test.d.ts, 2, 33))
2014-08-15 23:33:16 +02:00
}