Skip to content

Dexie Typescript Models #1578

Answered by dfahlander
noelheesen asked this question in Q&A
Jun 4, 2022 · 1 comments · 4 replies
Discussion options

You must be logged in to vote

In Dexie 4.0 alpha (npm install dexie@next) you can achieve exactly that. Declare table as Table<Item, "id"> instead.

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@noelheesen
Comment options

@noelheesen
Comment options

@Kirbinator001
Comment options

@dfahlander
Comment options

Answer selected by noelheesen
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants