UNPKG

267 BTypeScriptView Raw
1// Type definitions for cli-width 4.0
2/// <reference types="node" />
3
4import { Stream } from 'stream';
5import tty = require('tty');
6
7declare function cliWidth(options?: {
8 defaultWidth?: number;
9 output?: Stream;
10 tty?: typeof tty;
11}): number;
12
13export = cliWidth;