Dexie Typescript Models #1578
Answered
by
dfahlander
noelheesen
asked this question in
Q&A
-
Beta Was this translation helpful? Give feedback.
Answered by
dfahlander
Jun 4, 2022
Replies: 1 comment 4 replies
-
In Dexie 4.0 alpha ( |
Beta Was this translation helpful? Give feedback.
4 replies
Answer selected by
noelheesen
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
In Dexie 4.0 alpha (
npm install dexie@next
) you can achieve exactly that. Declare table as Table<Item, "id"> instead.