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