tshet-uinh-js
tshet-uinh-js copied to clipboard
TypeScript gets confused with entry.ts
(Present in 0.13.1 & 0.13.2, temporarily reverted in 0.13.3)
0.13.1 和 0.13.2 雖然加入了 default export,但它的 index.d.ts 在 submodule 方面似乎出了很大問題。
於是導致在 TypeScript 項目中:
- 無法
import { 資料 } from 'qieyun'
(似乎所有 submodule 都無法引入) - 寫
import { query音韻地位 } from 'qieyun'
不會報錯(本來應該是Qieyun.資料
中的)
0.13.3 暫時把入口從 entry.ts 改回了 index.ts。