ms-types 0.0.72 → 0.0.73

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ms-types",
3
- "version": "0.0.72",
3
+ "version": "0.0.73",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "publishConfig": {
package/types/image.d.ts CHANGED
@@ -70,14 +70,6 @@ declare namespace image {
70
70
  * image.release(imageId)
71
71
  */
72
72
  function readImage(path: string): string | null;
73
- /**
74
- * 读取资源图片
75
- * @param fileName 文件名
76
- * @returns 图片id ,如果读取失败则返回null
77
- * @example
78
- * image.readResImage("test.jpg")
79
- */
80
- function readResImage(fileName: string): string | null;
81
73
  /**
82
74
  * 旋转图片
83
75
  * @param imageId 图片id
@@ -71,14 +71,6 @@ declare namespace $图片 {
71
71
  * $图片.释放图片(图片ID)
72
72
  */
73
73
  function 读取图片(图片路径: 字符串): 字符串 | null;
74
- /**
75
- * 读取资源图片
76
- * @param fileName 文件名
77
- * @returns 图片id ,如果读取失败则返回null
78
- * @example
79
- * const 图片ID = $图片.从资源读取图片("test.jpg")
80
- */
81
- function 从资源读取图片(文件名: 字符串): 字符串 | null;
82
74
  /**
83
75
  * 旋转图片
84
76
  * @param imageId 图片id