replace jest with ava
This commit is contained in:
parent
27cc8b23fe
commit
0347b72305
11775 changed files with 84546 additions and 1440575 deletions
21
node_modules/widest-line/index.d.ts
generated
vendored
Normal file
21
node_modules/widest-line/index.d.ts
generated
vendored
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
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;
|
||||
Loading…
Add table
Add a link
Reference in a new issue