TypeScript/tests/baselines/reference/implicitAnyFunctionOverloadWithImplicitAnyReturnType.js

15 lines
283 B
TypeScript
Raw Normal View History

2014-07-13 01:04:16 +02:00
//// [implicitAnyFunctionOverloadWithImplicitAnyReturnType.ts]
// this should be an error
interface IFace {
funcOfIFace(); // error at "f"
}
// this should not be an error
interface IFace1{
f1(): any;
}
//// [implicitAnyFunctionOverloadWithImplicitAnyReturnType.js]