I'm bumping in to a issue where following error Argument of type 'typeof LitElement' is not assignable to parameter of type 'Constructor<CustomElement>. Cannot assign an abstract constructor type to a non-abstract constructor type.
I have seen similar setups be done in other projects without problems but most of them are written with vanilla Javascript whereas i'm using Typescript.
I am not sure if its the mixin's types that aren't generic enough or how this problem is caused.
I'm bumping in to a issue where following error
Argument of type 'typeof LitElement' is not assignable to parameter of type 'Constructor<CustomElement>. Cannot assign an abstract constructor type to a non-abstract constructor type.
I have seen similar setups be done in other projects without problems but most of them are written with vanilla Javascript whereas i'm using Typescript.
I am not sure if its the mixin's types that aren't generic enough or how this problem is caused.
Here is a simple demo of my component