摘要: interface 函数类型 //interface 函数类型 interface Foo { (a: string): string } const foo:Foo=(a:string)=>a;//箭头函数定义具体实现 foo("hello");//输出hello 函数重载 范例1 functio 阅读全文
posted @ 2025-06-08 19:59 悠哉大斌 阅读(40) 评论(0) 推荐(0)