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

8 lines
157 B
TypeScript

//@noImplicitAny: true
interface Entry {
// Should return error for implicit any on `new` and `foo`.
new ();
few() : any;
foo();
}