You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
typeConstructTuple<Lextendsnumber,Rextendsunknown[]=[]>=R["length"]extendsL ? R : ConstructTuple<L,[...R,unknown]>// M => minuend, S => subtrahendtypeSubtract<Mextendsnumber,Sextendsnumber>=ConstructTuple<M>extends[...subtrahend: ConstructTuple<S>, ...rest: infer Rest] ? Rest["length"] : never
Activity
dimitropoulos commentedon Jan 22, 2023
WOW! What an elegant solution! I'll feature it on the video solutions!