Utility type is used to infer type of the second argument of derives
handler (in the cap.derive({ to, derives: (claim, proof) => true }))
which could be either capability or set of capabilities. It simply makes
all nb fields optional, because in delegation all nb fields could be
left out implying no restrictions.
Utility type is used to infer type of the second argument of
deriveshandler (in thecap.derive({ to, derives: (claim, proof) => true })) which could be either capability or set of capabilities. It simply makes allnbfields optional, because in delegation allnbfields could be left out implying no restrictions.