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 af8884cdee - Show all commits

View File

@@ -99,10 +99,28 @@ export type ImplementsStatic<Exp extends TraitExpression<any, any>> = (
]>
)
export type TraitExpressionClass<Exp extends TraitExpression<any, any>> = (
AbstractClass<
> &
)
export type TraitExpressionConcreteClass<Exp extends TraitExpression<any, any>> = (
)
export type TraitExpressionInstance<Exp extends TraitExpression<any, any>> = (
)
export type TraitExpressionStaticMembers<Exp extends TraitExpression<any, any>> = (
Pipe<Traits, [
Tuples.Map<Trait.OwnClassFn>, // Map all the traits to their implementation class
Tuples.Prepend<Superclass>, // Add the superclass at the top of the list
Tuples.Map<StaticMembersFn>, // Map all the classes to an object containing their static members
ExtendFn, // Reduce to a single object that extends all the objects in the list
SimplifyFn, // Make readable for IDEs
]>
)