Environment add device brand and model info

This commit is contained in:
pengfei.zhou
2020-03-14 10:54:13 +08:00
committed by osborn
parent 47cf63ef36
commit 98c7d59a70
5 changed files with 25 additions and 1 deletions

View File

@@ -62,6 +62,15 @@ declare global {
statusBarHeight: number,
/**
* ex:Apple or Google
*/
deviceBrand: string,
/**
* ex: iPhone12,5 or pixel 3
*/
deviceModel: string,
[index: string]: number | string | boolean | object | undefined
}
function Entry(constructor: { new(...args: any[]): {} }): any