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
With the latest changes we are using type Tuple<T = unknown> = [T, ...T[]] for Capabilities which forces att to have at least one element but att can be an empty array.
What should we do here ?
The text was updated successfully, but these errors were encountered:
I think we can update types here to use C extends Capabilities | [] = Capabilities everywhere in here which I think would resolve this. On ucanto layer we may have to keep C and not allow empty case.
With the latest changes we are using
type Tuple<T = unknown> = [T, ...T[]]
for Capabilities which forces att to have at least one element but att can be an empty array.What should we do here ?
The text was updated successfully, but these errors were encountered: