写法
2019-06-15 本文已影响0人
韩梅梅梅梅
fun $a(){}
fun $b(){}
fun initC(){
return{
a(){
return $a();
},
b(){
return $b();
}
}
}
export type C = ReturnType<typeof initC>;