TypeScript/tests/baselines/reference/noImplicitAnyReferencingDeclaredInterface.errors.txt
2014-09-11 16:11:08 -07:00

10 lines
352 B
Plaintext

==== tests/cases/compiler/noImplicitAnyReferencingDeclaredInterface.ts (1 errors) ====
interface Entry {
// Should return error for implicit any.
new ();
~~~~~~~
!!! error TS7013: Construct signature, which lacks return-type annotation, implicitly has an 'any' return type.
}
declare var x: Entry;