123456789101112131415161718192021 |
- export {};
- declare global {
- declare const Bridge: typeof import('./bridge').Bridge;
- interface Window {
- /* six-aio 设备注入 */
- bridge: InstanceType<typeof import('./bridge').Bridge>;
- }
- /**
- * Promise 扩展
- */
- interface PromiseConstructor {
- withResolvers<T>(): {
- promise: Promise<T>;
- resolve: (value: T | PromiseLike<T>) => void;
- reject: (reason?: any) => void;
- };
- }
- }
|