mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2025-10-16 12:05:41 +00:00
11 lines
389 B
TypeScript
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;
|