ms-types 0.0.59 → 0.0.61
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/package.json +2 -2
- package/types/action.d.ts +6 -0
- package/types/media.d.ts +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ms-types",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.61",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"publishConfig": {
|
|
@@ -16,6 +16,6 @@
|
|
|
16
16
|
},
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"vitepress": "^1.6.4",
|
|
19
|
-
"vitepress-theme-teek": "^1.
|
|
19
|
+
"vitepress-theme-teek": "^1.5.0"
|
|
20
20
|
}
|
|
21
21
|
}
|
package/types/action.d.ts
CHANGED
package/types/media.d.ts
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
declare namespace media {
|
|
5
5
|
/**
|
|
6
6
|
* 保存图像到相册
|
|
7
|
-
* @param
|
|
7
|
+
* @param imageId 图像ID
|
|
8
8
|
* @returns 是否保存成功
|
|
9
9
|
* @example
|
|
10
10
|
* const imageId = image.readImage("screen.png")
|
|
@@ -15,7 +15,7 @@ declare namespace media {
|
|
|
15
15
|
* }
|
|
16
16
|
* }
|
|
17
17
|
*/
|
|
18
|
-
function saveImageToAlbum(
|
|
18
|
+
function saveImageToAlbum(imageId: string): boolean;
|
|
19
19
|
|
|
20
20
|
/**
|
|
21
21
|
* 保存视频路径到相册
|