You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
527 B
24 lines
527 B
declare class Browser {
|
|
firefox: boolean;
|
|
ie: boolean;
|
|
edge: boolean;
|
|
newEdge: boolean;
|
|
weChat: boolean;
|
|
version: string | number;
|
|
}
|
|
declare class Env {
|
|
browser: Browser;
|
|
node: boolean;
|
|
wxa: boolean;
|
|
worker: boolean;
|
|
svgSupported: boolean;
|
|
touchEventsSupported: boolean;
|
|
pointerEventsSupported: boolean;
|
|
domSupported: boolean;
|
|
transformSupported: boolean;
|
|
transform3dSupported: boolean;
|
|
hasGlobalWindow: boolean;
|
|
}
|
|
declare const env: Env;
|
|
export default env;
|