Skip to content

Commit

Permalink
fix React hooks types
Browse files Browse the repository at this point in the history
  • Loading branch information
stevensJourney committed Nov 3, 2023
1 parent 2c0a54f commit 961f544
Show file tree
Hide file tree
Showing 3 changed files with 122 additions and 3,829 deletions.
5 changes: 5 additions & 0 deletions .changeset/rare-zoos-walk.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@journeyapps/powersync-react': patch
---

Fixed: Added correct typings for React hooks. Previously hooks would return `any`.
1 change: 1 addition & 0 deletions packages/powersync-react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
"react": "*"
},
"devDependencies": {
"@types/react": "^18.2.34",
"react": "18.2.0",
"typescript": "^5.1.3"
}
Expand Down
Loading

0 comments on commit 961f544

Please sign in to comment.