add hasNotch in global variable
This commit is contained in:
1
doric-js/index.d.ts
vendored
1
doric-js/index.d.ts
vendored
@@ -51,6 +51,7 @@ declare module 'doric/lib/src/runtime/global' {
|
||||
screenWidth: number;
|
||||
screenHeight: number;
|
||||
statusBarHeight: number;
|
||||
hasNotch: boolean;
|
||||
/**
|
||||
* ex:Apple or Google
|
||||
*/
|
||||
|
1
doric-js/lib/src/runtime/global.d.ts
vendored
1
doric-js/lib/src/runtime/global.d.ts
vendored
@@ -37,6 +37,7 @@ declare global {
|
||||
screenWidth: number;
|
||||
screenHeight: number;
|
||||
statusBarHeight: number;
|
||||
hasNotch: boolean;
|
||||
/**
|
||||
* ex:Apple or Google
|
||||
*/
|
||||
|
@@ -62,6 +62,8 @@ declare global {
|
||||
|
||||
statusBarHeight: number,
|
||||
|
||||
hasNotch: boolean,
|
||||
|
||||
/**
|
||||
* ex:Apple or Google
|
||||
*/
|
||||
|
Reference in New Issue
Block a user