You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
No runtime code should be affected, but I am unsure if that is a good idea in the first place so feel free to dismiss this if you think it isn't. The workaround isn't too bad and TypeScript might fix it someday™️
The text was updated successfully, but these errors were encountered:
this is more of a personal itch, but as i'm mostly using types via JSDoc there is a small bit of friction when opening the db since there isn't a way to provide generics yet
my suggestion would be to provide a prop that would allow
openDB
to infer the schemaso the example above would look like
No runtime code should be affected, but I am unsure if that is a good idea in the first place so feel free to dismiss this if you think it isn't. The workaround isn't too bad and TypeScript might fix it someday™️
The text was updated successfully, but these errors were encountered: