mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
13 lines
382 B
TypeScript
13 lines
382 B
TypeScript
// Type definitions for cli-truncate 1.1
|
|
// Project: https://github.com/sindresorhus/cli-truncate
|
|
// Definitions by: Daniel Byrne <https://github.com/danwbyrne>
|
|
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
|
|
|
export = cliTruncate;
|
|
|
|
declare function cliTruncate(
|
|
input: string,
|
|
columns: number,
|
|
options?: {position?: 'start' | 'middle' | 'end'},
|
|
): string;
|