会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
分而治之
博客园
首页
新随笔
联系
管理
2025年6月8日
Typescript interface函数类型以及重载
摘要: 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)
公告