ka-weihe/fastest-levenshtein

TypeError in `closest` function

Closed this issue · 1 comments

export function closest(a: number, b: string): number;

This is as per the documentation.

  1. type of a should be a string.
  2. return type should also be string.
fzzle commented

Sorry about that. It has been fixed now.