mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-05-22 03:37:53 +08:00
18 lines
536 B
TypeScript
18 lines
536 B
TypeScript
// Type definitions for log-update 2.0
|
|
// Project: https://github.com/sindresorhus/log-update#readme
|
|
// Definitions by: BendingBender <https://github.com/BendingBender>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
/// <reference types="node"/>
|
|
|
|
export = logUpdate;
|
|
|
|
declare function logUpdate(...text: string[]): void;
|
|
|
|
declare namespace logUpdate {
|
|
function clear(): void;
|
|
function done(): void;
|
|
const stderr: typeof logUpdate;
|
|
function create(stream: NodeJS.WritableStream): typeof logUpdate;
|
|
}
|