10 lines
208 B
TypeScript
10 lines
208 B
TypeScript
//// [noImplicitAnyInBareInterface.ts]
|
|
|
|
interface Entry {
|
|
// Should return error for implicit any on `new` and `foo`.
|
|
new ();
|
|
few() : any;
|
|
foo();
|
|
}
|
|
|
|
//// [noImplicitAnyInBareInterface.js]
|