14 lines
283 B
JavaScript
14 lines
283 B
JavaScript
//// [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]
|