This repository was archived by the owner on Aug 7, 2023. It is now read-only.
Replies: 1 comment
-
|
I would love to know more on this as well. I think making those Base methods accept some generic type would be good. So we can do |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hello guys,
I want to use deta base with express js and typescript.
The issue is that type of userResponse is GetResponse, but the structure is IUser, as I inserted. I don't return the value instantly, I need to do more stuff with it, and typescript autocomplete will be very helpful.
Currently I am doing this, but doesn't look like the right solution:
is there a recommended way to handle this kind of things? Thank you.
Beta Was this translation helpful? Give feedback.
All reactions