Angus’ Home.
本文分享个人编写 TypeScript 声明文件的经验。
TypeScript 的 DefinitelyTyped 声明文件有两种写法,一种叫做 全局类型声明(Global Type Definition),另一个则是叫做 模块导出声明(External Module Definition)。