add: unit and integration testing

This commit is contained in:
odweta
2026-09-07 18:09:36 +02:00
parent 76fde42334
commit 52a25aeaf5
7230 changed files with 561560 additions and 135112 deletions
+21
View File
@@ -0,0 +1,21 @@
declare const leven: {
/**
Measure the difference between two strings.
@example
```
import leven = require('leven');
leven('cat', 'cow');
//=> 2
```
*/
(left: string, right: string): number;
// TODO: Remove this for the next major release, refactor the whole definition to:
// declare function leven(left: string, right: string): number;
// export = leven;
default: typeof leven;
};
export = leven;