android:custimze Environment
This commit is contained in:
3
doric-js/lib/src/runtime/global.d.ts
vendored
3
doric-js/lib/src/runtime/global.d.ts
vendored
@@ -7,13 +7,14 @@ export declare type BridgeContext = {
|
||||
declare global {
|
||||
const context: BridgeContext;
|
||||
const Environment: {
|
||||
platform: "Android" | "iOS" | "Qt" | "h5";
|
||||
platform: "Android" | "iOS" | "Qt" | "web";
|
||||
platformVersion: string;
|
||||
appName: string;
|
||||
appVersion: string;
|
||||
libVersion: string;
|
||||
screenWidth: number;
|
||||
screenHeight: number;
|
||||
[index: string]: number | string | boolean | object | undefined;
|
||||
};
|
||||
function Entry(constructor: {
|
||||
new (...args: any[]): {};
|
||||
|
Reference in New Issue
Block a user