From cccb731c91b76b5ab8b3ba0d458eb0b62a0cbe63 Mon Sep 17 00:00:00 2001 From: Asa Baylus Date: Sat, 6 Aug 2022 02:18:12 -0400 Subject: [PATCH] fuzzysort 2.0 removes options.allowTypo --- src/fuzzysort-options.js | 1 - 1 file changed, 1 deletion(-) diff --git a/src/fuzzysort-options.js b/src/fuzzysort-options.js index d2b01116..f6da5a82 100644 --- a/src/fuzzysort-options.js +++ b/src/fuzzysort-options.js @@ -4,7 +4,6 @@ export default { threshold: -Infinity, // Don't return matches worse than this (higher is faster) limit: 7, // Don't return more results than this (lower is faster) - allowTypo: true, // Allwos a snigle transpoes (false is faster) key: "name", // For when targets are objects (see its example usage) keys: ["name"], // For when targets are objects (see its example usage) scoreFn: null, // For use with `keys` (see its example usage)