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
Higher kinded types are superior to what I am asking here, it would be great if TypeScript had HKT's, please please please, but in meanwhile, since the polymorphic this type was (surprisingly) added here, why not to tweak it a bit by allowing type parameters to it?
i do not think it is a "tweak". I am not sure I even understand the semantics of this<T> in this context; what if the extending class is not generic, what if it but the extending class type parameter count does not match that of the base, what if the type parameters are not the "same" type parameter of the base...
... crap, fair questions, this inheritance thing never works out nicely, what's even more upsetting is that this "polimorfic" type is here but due to that inheritance nonsense you can only use it for 23% of what you wish you could, nevermind
It would be enormously helpful if
this
recognized type parameters:The text was updated successfully, but these errors were encountered: