1 | // Type definitions for fast-levenshtein
|
2 | // Project: https://github.com/hiddentao/fast-levenshtein
|
3 | // Definitions by: Mizunashi Mana <https://github.com/mizunashi-mana>
|
4 | // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
|
5 |
|
6 | export interface LevenshteinOptions {
|
7 | useCollator?: boolean;
|
8 | }
|
9 |
|
10 | export function get(str1: string, str2: string, opts?: LevenshteinOptions): number;
|