feat:add statusBarHeight in Environment
This commit is contained in:
1
doric-js/index.d.ts
vendored
1
doric-js/index.d.ts
vendored
@@ -50,6 +50,7 @@ declare module 'doric/lib/src/runtime/global' {
|
||||
libVersion: string;
|
||||
screenWidth: number;
|
||||
screenHeight: number;
|
||||
statusBarHeight: number;
|
||||
[index: string]: number | string | boolean | object | undefined;
|
||||
};
|
||||
function Entry(constructor: {
|
||||
|
1
doric-js/lib/src/runtime/global.d.ts
vendored
1
doric-js/lib/src/runtime/global.d.ts
vendored
@@ -36,6 +36,7 @@ declare global {
|
||||
libVersion: string;
|
||||
screenWidth: number;
|
||||
screenHeight: number;
|
||||
statusBarHeight: number;
|
||||
[index: string]: number | string | boolean | object | undefined;
|
||||
};
|
||||
function Entry(constructor: {
|
||||
|
@@ -60,6 +60,8 @@ declare global {
|
||||
|
||||
screenHeight: number,
|
||||
|
||||
statusBarHeight: number,
|
||||
|
||||
[index: string]: number | string | boolean | object | undefined
|
||||
}
|
||||
function Entry(constructor: { new(...args: any[]): {} }): any
|
||||
|
Reference in New Issue
Block a user