aboutsummaryrefslogtreecommitdiff
path: root/node_modules/widest-line/index.d.ts
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/widest-line/index.d.ts')
-rw-r--r--node_modules/widest-line/index.d.ts21
1 files changed, 0 insertions, 21 deletions
diff --git a/node_modules/widest-line/index.d.ts b/node_modules/widest-line/index.d.ts
deleted file mode 100644
index 845ceaa..0000000
--- a/node_modules/widest-line/index.d.ts
+++ /dev/null
@@ -1,21 +0,0 @@
-declare const widestLine: {
- /**
- Get the visual width of the widest line in a string - the number of columns required to display it.
-
- @example
- ```
- import widestLine = require('widest-line');
-
- widestLine('古\n\u001B[1m@\u001B[22m');
- //=> 2
- ```
- */
- (input: string): number;
-
- // TODO: remove this in the next major version, refactor definition to:
- // declare function widestLine(input: string): number;
- // export = widestLine;
- default: typeof widestLine;
-};
-
-export = widestLine;