assistsx-js 0.1.39 → 0.1.41
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/dist/AssistsX.d.ts +1 -6
- package/package.json +1 -1
- package/src/AssistsX.ts +1 -1
package/dist/AssistsX.d.ts
CHANGED
|
@@ -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
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():
|
|
128
|
+
public static get screenSize(): any {
|
|
129
129
|
if (screen == null) return null;
|
|
130
130
|
return {
|
|
131
131
|
width: screen.width,
|