Skip to content

Commit

Permalink
Fix keys typings
Browse files Browse the repository at this point in the history
  • Loading branch information
Elvin Dzhavadov authored Jun 22, 2020
1 parent a3892ec commit bd56943
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ declare class Fuse<T, O extends Fuse.IFuseOptions<T>> {
* @returns An indexed list
*/
static createIndex<U>(
keys: Fuse.FuseOptionKeyObject[] | string[],
keys: Array<Fuse.FuseOptionKeyObject | string>,
list: ReadonlyArray<U>,
options?: Fuse.FuseIndexOptions<U>
): FuseIndex<U>
Expand Down Expand Up @@ -241,7 +241,7 @@ declare namespace Fuse {
ignoreFieldNorm?: boolean
includeMatches?: boolean
includeScore?: boolean
keys?: FuseOptionKeyObject[] | string[]
keys?: Array<FuseOptionKeyObject | string>
location?: number
minMatchCharLength?: number
shouldSort?: boolean
Expand Down

0 comments on commit bd56943

Please sign in to comment.