weex.d.ts 449 B

123456789101112
  1. declare global {
  2. var __weex_require__: any;
  3. var weex: {
  4. config: any;
  5. requireModule(name: string): {
  6. [key: string]: any;
  7. };
  8. };
  9. }
  10. export declare const requireModule: (moduleName: string) => any;
  11. export declare const iosWeexBridge: () => Promise<(method: string, params: any) => Promise<unknown>>;
  12. export declare const androidWeexBridge: () => Promise<(method: string, params: any) => Promise<unknown>>;