mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-26 06:05:54 +08:00
9 lines
265 B
TypeScript
9 lines
265 B
TypeScript
/// <reference path="./wrap-ansi.d.ts" />
|
|
|
|
import wrapAnsi = require("wrap-ansi");
|
|
|
|
wrapAnsi("input", 80) === "output";
|
|
wrapAnsi("input", 80, {}) === "output";
|
|
wrapAnsi("input", 80, { hard: true }) === "output";
|
|
wrapAnsi("input", 80, { hard: false }) === "output";
|