UNPKG
@zkochan/table
Version:
latest (2.0.1)
2.0.1
2.0.0
1.0.1
1.0.0
Formats data into a string table.
github.com/gajus/table
gajus/table
@zkochan/table
/
dist
/
src
/
truncateTableData.d.ts
7 lines
(6 loc)
•
260 B
TypeScript
View Raw
1
2
3
4
5
6
7
import
type
{
Row
}
from
'./types/internal'
;
export
declare
const
truncateString
:
(
input
:
string
,
length
:
number
) =>
string
;
/** *
@todo
Make it work with ASCII content. */
export
declare
const
truncateTableData
:
(
rows
:
Row
[],
truncates
:
number
[]
) =>
Row
[];