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
But when i started i discovered that i can't inherit from BaseModel(cause it is not a type) or LucidModel(cause it forces me to implement a ton of things). So right now i am experimenting with interfaces to make this work, but i still have nothing to show.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Hello. Sorry if this is a dumb question. I'm new to typescript(java background).
I was trying to make a BaseController for my controllers including these methods
But when i started i discovered that i can't inherit from BaseModel(cause it is not a type) or LucidModel(cause it forces me to implement a ton of things). So right now i am experimenting with interfaces to make this work, but i still have nothing to show.
Do you guys have some ideas to resolve this problem?
Beta Was this translation helpful? Give feedback.
All reactions