Found working approach
Some checks failed
continuous-integration/drone/push Build is failing

This commit is contained in:
Julien Valverdé
2024-02-18 04:10:20 +01:00
parent 45ec2dd0e3
commit 517792b1c2
2 changed files with 18 additions and 12 deletions

View File

@@ -68,10 +68,8 @@ type MapTraitsToOwnImplInstance<T extends readonly any[]> = {
type MapTraitsToOwnImplStaticMembers<T extends readonly any[]> = {
[K in keyof T]: Trait.OwnImplClass<T[K]>
}
type MapStaticMembers<Tuple extends readonly AbstractClass<any>[]> = {
[TupleK in keyof Tuple]: {
[ClassK in keyof Tuple[TupleK]]: Tuple[TupleK][ClassK]
}
type MapStaticMembers<T extends readonly AbstractClass<any>[]> = {
[K in keyof T]: StaticMembers<T[K]>
}