10 lines
210 B
TypeScript
10 lines
210 B
TypeScript
//// [noImplicitAnyReferencingDeclaredInterface.ts]
|
|
|
|
interface Entry {
|
|
// Should return error for implicit any.
|
|
new ();
|
|
}
|
|
|
|
declare var x: Entry;
|
|
|
|
//// [noImplicitAnyReferencingDeclaredInterface.js]
|