UNPKG

dop-stick

Version:

Source control tooling for versionable-upgradeable smart contracts

19 lines 556 B
export declare class Spinner { private frames; private interval; private currentFrame; private text; private isSpinning; private startTime; constructor(text?: string); start(text?: string): void; stop(success?: boolean, message?: string): void; private render; updateText(text: string): void; static wrap<T>(promise: Promise<T>, text: string, options?: { successText?: string; errorText?: string; }): Promise<T>; private static getErrorMessage; } //# sourceMappingURL=spinner.d.ts.map