DefinitelyTyped/types/fast-levenshtein/index.d.ts
2017-03-24 14:27:52 -07:00

11 lines
389 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;
}
export function get(str1: string, str2: string, opts?: LevenshteinOptions): number;