Skip to content

Commit

Permalink
chore(onClickOutside): Fixed export type (#3673)
Browse files Browse the repository at this point in the history
  • Loading branch information
nooooooom committed Dec 27, 2023
1 parent ce420c4 commit 0c246cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/onClickOutside/index.ts
Expand Up @@ -43,7 +43,7 @@ export function onClickOutside<T extends OnClickOutsideOptions>(
const { window = defaultWindow, ignore = [], capture = true, detectIframe = false } = options

if (!window)
return
return noop

// Fixes: https://github.com/vueuse/vueuse/issues/1520
// How it works: https://stackoverflow.com/a/39712411
Expand Down

0 comments on commit 0c246cc

Please sign in to comment.