Skip to content

Commit

Permalink
typing fix for hook results
Browse files Browse the repository at this point in the history
  • Loading branch information
onderonur committed Apr 4, 2021
1 parent 4850b51 commit 22c2531
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-intersection-observer-hook",
"version": "2.0.2",
"version": "2.0.3",
"license": "MIT",
"author": "onderonur",
"main": "dist/index.js",
Expand Down
2 changes: 1 addition & 1 deletion src/useIntersectionObserver.ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export type IntersectionObserverHookResult = [
IntersectionObserverHookRefCallback,
{
entry: IntersectionObserverEntry | undefined;
rootRef?: IntersectionObserverHookRootRefCallback;
rootRef: IntersectionObserverHookRootRefCallback;
},
];

Expand Down

0 comments on commit 22c2531

Please sign in to comment.