TypeScript/tests/cases/compiler/implicitAnyInAmbientDeclaration.ts
2014-07-12 17:30:19 -07:00

11 lines
371 B
TypeScript

//@noimplicitany: true
module Test {
declare class C {
public publicMember; // this should be an error
private privateMember; // this should not be an error
public publicFunction(x); // this should be an error
private privateFunction(privateParam); // this should not be an error
private constructor(privateParam);
}
}