Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(store): add internalType property to user types config for type inference #1587

Merged
merged 5 commits into from
Sep 24, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update thin-chairs-compare.md
alvrs authored Sep 24, 2023
commit b3501a5b157110d262414d2feaa37e2b12d1eff2
2 changes: 1 addition & 1 deletion .changeset/thin-chairs-compare.md
Original file line number Diff line number Diff line change
@@ -4,4 +4,4 @@
"@latticexyz/store": major
---

Changed the `userTypes` property to accept `{ filePath: string, internalType: SchemaAbiType }` to enable strong inference of types from the config.
Changed the `userTypes` property to accept `{ filePath: string, internalType: SchemaAbiType }` to enable strong type inference from the config.