Moved TraitExpression helpers to namespace
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
@@ -119,13 +119,13 @@ type GetTraitExpression<
|
||||
OwnTraits extends Trait<any, any, any>[],
|
||||
AllTraits extends Trait<any, any, any>[],
|
||||
> = (
|
||||
Call<Tuples.IsEmpty, OwnTraits> extends true
|
||||
Call<Tuples.IsEmpty, AllTraits> extends true
|
||||
? "Cannot express an empty list of traits."
|
||||
: AbstractMembersExtendable<Super, OwnTraits> extends false
|
||||
: AbstractMembersExtendable<Super, AllTraits> extends false
|
||||
? "Type conflict between the traits abstract members and/or the superclass instance."
|
||||
: ImplInstanceExtendable<Super, OwnTraits> extends false
|
||||
: ImplInstanceExtendable<Super, AllTraits> extends false
|
||||
? "Type conflict between the traits implementation instances and/or the superclass instance."
|
||||
: ImplStaticMembersExtendable<Super, OwnTraits> extends false
|
||||
: ImplStaticMembersExtendable<Super, AllTraits> extends false
|
||||
? "Type conflict between the traits implementation static members and/or the superclass static members."
|
||||
: TraitExpression<Super, OwnTraits, AllTraits>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user