Skip to content

Commit

Permalink
fix: change load function signature
Browse files Browse the repository at this point in the history
  • Loading branch information
xnerhu committed Nov 24, 2023
1 parent 641f44b commit c77231d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ function monitor() {
}
}

export async function load(options?: Record<keyof any, never>): Promise<BotDetectorInterface> {
export async function load(options?: Record<keyof any, any>): Promise<BotDetectorInterface> {
if (options?.monitoring ?? true) {
monitor()
}
Expand Down

0 comments on commit c77231d

Please sign in to comment.