17 lines
351 B
TypeScript
17 lines
351 B
TypeScript
//// [tests/cases/compiler/noImplicitAnyAndPrivateMembersWithoutTypeAnnotations.ts] ////
|
|
|
|
//// [test.d.ts]
|
|
declare class Something
|
|
{
|
|
private static someStaticVar;
|
|
private someVar;
|
|
}
|
|
|
|
//// [app.ts]
|
|
/// <reference path="test.d.ts" />
|
|
var x = new Something();
|
|
|
|
|
|
//// [app.js]
|
|
/// <reference path="test.d.ts" />
|
|
var x = new Something();
|