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 I'm still unable to get it to work. FunctionConstructor seems to do the trick the if constructor has no arguments. Even using any doesn't help. Is there a way to achieve this? Or is this a bug?
The text was updated successfully, but these errors were encountered:
Simply put, I'm trying to achieve a mixin like functionality.
The pattern I'm using is this:
Breaking it down into javascript:
Typing it in typescript I ended up with this:
But I'm still unable to get it to work.
FunctionConstructor
seems to do the trick the if constructor has no arguments. Even usingany
doesn't help. Is there a way to achieve this? Or is this a bug?The text was updated successfully, but these errors were encountered: