We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a3892ec + bd56943 commit 85fb211Copy full SHA for 85fb211
1 file changed
src/index.d.ts
@@ -82,7 +82,7 @@ declare class Fuse<T, O extends Fuse.IFuseOptions<T>> {
82
* @returns An indexed list
83
*/
84
static createIndex<U>(
85
- keys: Fuse.FuseOptionKeyObject[] | string[],
+ keys: Array<Fuse.FuseOptionKeyObject | string>,
86
list: ReadonlyArray<U>,
87
options?: Fuse.FuseIndexOptions<U>
88
): FuseIndex<U>
@@ -241,7 +241,7 @@ declare namespace Fuse {
241
ignoreFieldNorm?: boolean
242
includeMatches?: boolean
243
includeScore?: boolean
244
- keys?: FuseOptionKeyObject[] | string[]
+ keys?: Array<FuseOptionKeyObject | string>
245
location?: number
246
minMatchCharLength?: number
247
shouldSort?: boolean
0 commit comments