ink
Version:
React for CLI
14 lines (13 loc) • 346 B
TypeScript
import { type Writable } from 'node:stream';
export type LogUpdate = {
clear: () => void;
done: () => void;
sync: (str: string) => void;
(str: string): void;
};
declare const logUpdate: {
create: (stream: Writable, { showCursor }?: {
showCursor?: boolean | undefined;
}) => LogUpdate;
};
export default logUpdate;