0.1.4 #4

Merged
Thilawyn merged 68 commits from next into master 2024-02-20 01:39:38 +01:00
Showing only changes of commit 2ad7ca0a0d - Show all commits

View File

@@ -65,8 +65,8 @@ export class TraitExpression<
return new Trait(
this,
// {} as RemoveSupertraitsAbstractFromAbstract<SubtraitAbstract, Implements<typeof this>>,
{} as SubtraitAbstract, // TODO: find a way to cleanly substract Implements<typeof this> from this.
{} as SubtraitStaticAbstract,
{} as SubtraitAbstract, // TODO: find a way to cleanly substract Implements<typeof this> from this.
{} as SubtraitStaticAbstract, // TODO: find a way to cleanly substract StaticImplements<typeof this> from this.
apply as any as (Super: AbstractClass<{}>) => RemoveAbstractFromImplClass<SubtraitImplClassWithAbstract, SubtraitAbstract, SubtraitStaticAbstract>,
)
}