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