Some checks are pending
Build AeThex Engine / build-windows (push) Waiting to run
Build AeThex Engine / build-linux (push) Waiting to run
Build AeThex Engine / build-macos (push) Waiting to run
Build AeThex Engine / create-release (push) Blocked by required conditions
Deploy Docsify Documentation / build (push) Waiting to run
Deploy Docsify Documentation / deploy (push) Blocked by required conditions
21 lines
417 B
TypeScript
21 lines
417 B
TypeScript
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;
|