UNPKG

@lifi/rpc-wrapper

Version:
18 lines (17 loc) 469 B
/** * perfProfileHrtime calculates the amount of time in ms since * last tick * @param name - name to display * @param tick - a hrtime object * @returns */ export declare const perfProfileHrtime: (tick: [number, number]) => string; export declare function getResult(payload: { error?: { code?: number; data?: any; message?: string; }; result?: any; }): any; export declare const replaceLeadingZeros: (input: string) => string;