feat:Environment add scale

This commit is contained in:
pengfei.zhou
2020-04-23 15:38:37 +08:00
committed by osborn
parent d32f714050
commit 9e7c1f04ef
14 changed files with 36 additions and 32 deletions

View File

@@ -60,6 +60,8 @@ declare global {
screenHeight: number,
screenScale: number,
statusBarHeight: number,
hasNotch: boolean,
@@ -72,7 +74,6 @@ declare global {
* ex: iPhone12,5 or pixel 3
*/
deviceModel: string,
[index: string]: number | string | boolean | object | undefined
}
function Entry(constructor: { new(...args: any[]): {} }): any