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