You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
267 B
TypeScript
14 lines
267 B
TypeScript
3 weeks ago
|
// Type definitions for cli-width 4.0
|
||
|
/// <reference types="node" />
|
||
|
|
||
|
import { Stream } from 'stream';
|
||
|
import tty = require('tty');
|
||
|
|
||
|
declare function cliWidth(options?: {
|
||
|
defaultWidth?: number;
|
||
|
output?: Stream;
|
||
|
tty?: typeof tty;
|
||
|
}): number;
|
||
|
|
||
|
export = cliWidth;
|