@zh-keyboard/pinyin 1.1.0 → 1.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +190 -190
- package/data/rime-api.js +2 -1957
- package/dist/index.d.mts +3 -2
- package/dist/index.d.ts +3 -2
- package/dist/index.js +693 -859
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +688 -853
- package/dist/index.mjs.map +1 -1
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -39,7 +39,8 @@ interface RimeWasmOptions {
|
|
|
39
39
|
* 默认为 luna_pinyin 的 schema、词典文件以及配置 YAML。
|
|
40
40
|
*/
|
|
41
41
|
dataFiles?: string[];
|
|
42
|
-
}
|
|
42
|
+
}
|
|
43
|
+
//#endregion
|
|
43
44
|
//#region src/index.d.ts
|
|
44
45
|
type PinyinState = RimeState;
|
|
45
46
|
interface RimePinyinEngineOptions extends RimeWasmOptions {
|
|
@@ -68,5 +69,5 @@ declare class RimePinyinEngine implements PinyinEngine$1 {
|
|
|
68
69
|
destroy(): Promise<void>;
|
|
69
70
|
}
|
|
70
71
|
//#endregion
|
|
71
|
-
export { PinyinEngine, PinyinState, RimePinyinEngine, RimePinyinEngineOptions };
|
|
72
|
+
export { type PinyinEngine, PinyinState, RimePinyinEngine, RimePinyinEngineOptions };
|
|
72
73
|
//# sourceMappingURL=index.d.mts.map
|
package/dist/index.d.ts
CHANGED
|
@@ -39,7 +39,8 @@ interface RimeWasmOptions {
|
|
|
39
39
|
* 默认为 luna_pinyin 的 schema、词典文件以及配置 YAML。
|
|
40
40
|
*/
|
|
41
41
|
dataFiles?: string[];
|
|
42
|
-
}
|
|
42
|
+
}
|
|
43
|
+
//#endregion
|
|
43
44
|
//#region src/index.d.ts
|
|
44
45
|
type PinyinState = RimeState;
|
|
45
46
|
interface RimePinyinEngineOptions extends RimeWasmOptions {
|
|
@@ -68,5 +69,5 @@ declare class RimePinyinEngine implements PinyinEngine$1 {
|
|
|
68
69
|
destroy(): Promise<void>;
|
|
69
70
|
}
|
|
70
71
|
//#endregion
|
|
71
|
-
export { PinyinEngine, PinyinState, RimePinyinEngine, RimePinyinEngineOptions };
|
|
72
|
+
export { type PinyinEngine, PinyinState, RimePinyinEngine, RimePinyinEngineOptions };
|
|
72
73
|
//# sourceMappingURL=index.d.ts.map
|