@types/fast-levenshtein
Version:
TypeScript definitions for fast-levenshtein
11 lines (8 loc) • 401 B
TypeScript
// Type definitions for fast-levenshtein
// Project: https://github.com/hiddentao/fast-levenshtein
// Definitions by: Mizunashi Mana <https://github.com/mizunashi-mana>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
export interface LevenshteinOptions {
useCollator?: boolean | undefined;
}
export function get(str1: string, str2: string, opts?: LevenshteinOptions): number;