chore(deps): update some tools dependencies

This commit is contained in:
ShareVB committed 2025-02-09 23:03:10 +01:00
1 parent 2ff77eefc0
commit a3ac98993b
10 files changed
+838 -964

No files matched your search

+2 -2
View File
@@ -1,5 +1,5 @@
import { type MaybeRef, get } from '@vueuse/core';
import Fuse from 'fuse.js';
import Fuse, { type IFuseOptions } from 'fuse.js';
import { computed } from 'vue';
export { useFuzzySearch };
@@ -11,7 +11,7 @@ function useFuzzySearch<Data>({
}: {
search: MaybeRef<string>
data: Data[]
options?: Fuse.IFuseOptions<Data> & { filterEmpty?: boolean }
options?: IFuseOptions<Data> & { filterEmpty?: boolean }
}) {
const fuse = new Fuse(data, options);
const filterEmpty = options.filterEmpty ?? true;