下面这种接口有办法实现吗,还是说不能共存
interface interface_func{
name:string,
func1:(prop1:string,prop2:number)=>any,
func2(prop1:string,prop2:number):any,
(prop1:string,prop2:number):any
}
class test implements interface_func{
//code
}
//或者用变量
let test1:interface_func;
test1={
//code
};