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
interfaceVueCtor{new<D=object>(d: D): Vue&D;}interfaceVue{}declarevarVue: VueCtor;classAextendsVue{// ~~~// Error: Base constructor return type 'Vue & D' is not a class or interface type.}
I thought this might have to do with the constraint, but adding an explicit D extends object = object doesn't work either.
Is it possible that D isn't correctly getting instantiated with its default type argument when extending from Vue?
I thought this might have to do with the constraint, but adding an explicit
D extends object = objectdoesn't work either.Is it possible that
Disn't correctly getting instantiated with its default type argument when extending fromVue?