UNPKG

react-router-ga

Version:

[![Downloads](https://img.shields.io/npm/dm/react-router-ga)](https://npm.im/react-router-ga) [![Version](https://img.shields.io/npm/v/react-router-ga)](https://npm.im/react-router-ga) [![License](https://img.shields.io/npm/l/react-router-ga)](https://ope

16 lines (13 loc) 345 B
declare module "levenary" { /** Return the string within `array`, whose Levenshtein distance from `str` is minimal. @example ``` import levenary from 'levenary'; levenary('cat', ['cow', 'dog', 'pig']); //=> 'cow' ``` */ declare function levenary (str: string, array: string[]): string; declare export default typeof levenary; }