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

8 lines
133 B
TypeScript

//@noImplicitAny: true
interface Entry {
// Should return error for implicit any.
new ();
}
declare var x: Entry;