TypeScript/tests/cases/compiler/noImplicitAnyForwardReferencedInterface.ts

7 lines
131 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
//@noImplicitAny: true
declare var x: Entry;
interface Entry {
// Should return error for implicit any.
new ();
}