13 lines
267 B
TypeScript
13 lines
267 B
TypeScript
// 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;
|