Closed syimyuzya closed 1 month ago
(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'
import { query音韻地位 } from 'qieyun'
Qieyun.資料
0.13.3 暫時把入口從 entry.ts 改回了 index.ts。
Will be fixed in the upcoming 0.15 version :smiley:
Fixed with the release of v0.15.0
(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。