2019年6月20日

摘要: 1、如果是可调用的方法,需要像下面这样声明: declare function myLib(a: string): string; declare function myLib(a: number): number; 调用的时候像这样: myLib(3) 2、如果希望此库的名称是有效的类型名称: i 阅读全文
posted @ 2019-06-20 16:18 KyleLjc 阅读(6985) 评论(0) 推荐(0)

导航