assistsx-js 0.1.39 → 0.1.40

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.
@@ -70,12 +70,7 @@ export declare class AssistsX {
70
70
  * 屏幕尺寸(与全局变量 screen 同源)
71
71
  * @deprecated 已过时,请使用全局变量 {@link screen}
72
72
  */
73
- static get screenSize(): {
74
- width: number;
75
- height: number;
76
- screenWidth: number;
77
- screenHeight: number;
78
- } | null;
73
+ static get screenSize(): any;
79
74
  /**
80
75
  * 执行同步调用
81
76
  * @param method 方法名
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "assistsx-js",
3
- "version": "0.1.39",
3
+ "version": "0.1.40",
4
4
  "description": "assistsx-js自动化开发SDK",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.js",
package/src/AssistsX.ts CHANGED
@@ -125,7 +125,7 @@ export class AssistsX {
125
125
  * 屏幕尺寸(与全局变量 screen 同源)
126
126
  * @deprecated 已过时,请使用全局变量 {@link screen}
127
127
  */
128
- public static get screenSize(): { width: number; height: number; screenWidth: number; screenHeight: number } | null {
128
+ public static get screenSize(): any {
129
129
  if (screen == null) return null;
130
130
  return {
131
131
  width: screen.width,