exclusiveInvoke.d.ts 348 B

123456789101112131415
  1. export interface ExclusiveInvokeParams {
  2. api: string;
  3. appId: string;
  4. params: {
  5. [key: string]: any;
  6. };
  7. }
  8. declare function exclusiveInvoke<T>(args: ExclusiveInvokeParams): Promise<T>;
  9. declare namespace exclusiveInvoke {
  10. var version: {
  11. ios: string;
  12. android: string;
  13. };
  14. }
  15. export default exclusiveInvoke;