mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
20 lines
360 B
TypeScript
20 lines
360 B
TypeScript
import logUpdate = require('log-update');
|
|
|
|
logUpdate(`
|
|
♥♥
|
|
unicorns
|
|
♥♥
|
|
`);
|
|
|
|
logUpdate.clear();
|
|
logUpdate.done();
|
|
|
|
logUpdate.stderr('oh', 'my', 'oh', 'my');
|
|
logUpdate.stderr.clear();
|
|
logUpdate.stderr.done();
|
|
|
|
const logStdOut = logUpdate.create(process.stdout);
|
|
logStdOut('oh', 'my', 'oh', 'my');
|
|
logStdOut.clear();
|
|
logStdOut.done();
|