ms-types 0.0.24 → 0.0.25

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/types/ime.d.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ms-types",
3
- "version": "0.0.24",
3
+ "version": "0.0.25",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
package/types/ime.d.ts CHANGED
@@ -42,7 +42,7 @@ declare namespace ime {
42
42
  * const text = ime.paste("hello")
43
43
  * logger.info(text)
44
44
  */
45
- function paste(text: string): string;
45
+ function paste(text?: string): string;
46
46
  /**
47
47
  * 模拟删除键
48
48
  * @returns {string} 如果为空,代表输入框无数据,如果不为空,代表输入框剩余数据