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
Expected behavior:
Union of abstract propeties is abstract property.
Actual behavior:
Union of abstract propeties is not abstract.
Related Issues:
Code
typeConstructor=new(...args: any[])=>{};classBaseClass{}functionAB<TBaseextendsConstructor>(Base: TBase){abstractclassABextendsBase{abstracta: numberabstractb: number};returnAB}functionAC<TBaseextendsConstructor>(Base: TBase){abstractclassACextendsBase{abstracta: numberabstractc: number};returnAC}// should throw "Non-abstract class 'ShouldHavePropA' does not implement inherited abstract member 'a' from class ..."classShouldHavePropAextendsAB(AC(BaseClass)){b=1;c=2;}
TypeScript Version: 3.9.2
Search Terms: mixin abstract union
Expected behavior:
Union of abstract propeties is abstract property.
Actual behavior:
Union of abstract propeties is not abstract.
Related Issues:
Code
Output
Compiler Options
Playground Link: Provided
The text was updated successfully, but these errors were encountered: