This repository has been archived on 2022-01-16. You can view files and clone it, but cannot push or open issues or pull requests.
irreligious/node_modules/table/dist/wrapCell.d.ts

9 lines
287 B
TypeScript
Raw Normal View History

2021-09-04 22:21:14 -05:00
/**
* Wrap a single cell value into a list of lines
*
* Always wraps on newlines, for the remainder uses either word or string wrapping
* depending on user configuration.
*
*/
export declare const wrapCell: (cellValue: string, cellWidth: number, useWrapWord: boolean) => string[];