project/node_modules/zrender/lib/core/env.d.ts

24 lines
527 B
TypeScript
Raw Normal View History

2024-07-14 15:48:34 +08:00
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;