simple-ime 1.2.1 → 1.2.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.
@@ -1,7 +1,7 @@
1
1
  import { PinyinSyllables } from '../types';
2
2
 
3
3
  export declare const pinyinSet: Set<string>;
4
- export declare function appendSyllables(ans: PinyinSyllables[], compAns: PinyinSyllables[]): PinyinSyllables[];
4
+ export declare function appendSyllables(syllables: PinyinSyllables[], appended: PinyinSyllables[]): PinyinSyllables[];
5
5
  export declare function splitSyllablesExhaustive(text: string): PinyinSyllables[];
6
6
  export declare function splitSyllablesByExistPinyin(text: string, callback?: (quotes: string, collector?: PinyinSyllables, indexes?: number[]) => void): PinyinSyllables;
7
7
  export declare function splitSyllablesByExistPinyinWithCorrector(text: string): {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "simple-ime",
3
3
  "type": "module",
4
- "version": "1.2.1",
4
+ "version": "1.2.2",
5
5
  "description": "A simple browser tool to use Chinese Pinyin Input Method (IME).",
6
6
  "author": "nieyuyao <nieyuyao0826@hotmail.com>",
7
7
  "license": "MIT",