UNPKG

@mpkit/mixin

Version:
5 lines (4 loc) 401 B
import { MkFuncHook, MkReplaceFuncCallback } from "@mpkit/types"; export declare const FormatApiMethodCallbackHook: MkFuncHook; export declare const hookApiMethodCallback: (apiName: string, onSuccess: Function, onFail: Function, args: any[]) => any[]; export declare const hookApiMethod: (apiName: string, apiMethod: Function, replaceCallback: MkReplaceFuncCallback, hooks: MkFuncHook[]) => Function;