TypeScript/tests/baselines/reference/implicitAnyFunctionOverloadWithImplicitAnyReturnType.js
2014-07-12 17:30:19 -07:00

15 lines
283 B
TypeScript

//// [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]