15 lines
283 B
TypeScript
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]
|