UNPKG

next

Version:

The React Framework

6 lines (5 loc) • 320 B
import ora from 'next/dist/compiled/ora'; export default function createSpinner(text: string, options?: ora.Options, logFn?: (...data: any[]) => void): (ora.Ora & { setText: (text: string) => void; }) | undefined; export declare function finishSpinner(spinner: ReturnType<typeof createSpinner>, text: string): void;