StackOverflow 文件 TypeScript 教程 釋出 TypeScript 定義檔案 在 npm 上包含帶庫的定義檔案 在 npm 上包含帶庫的定義檔案 Created: November-22, 2018 在 package.json 中新增輸入法 { ... "typings": "path/file.d.ts" ... } 現在,當匯入該庫時,typescript 將載入打字檔案 釋出 TypeScript 定義檔案