TypeScript/tests/cases/compiler/noImplicitAnyInBareInterface.ts

8 lines
157 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
//@noImplicitAny: true
interface Entry {
// Should return error for implicit any on `new` and `foo`.
new ();
few() : any;
foo();
}