ToDeriveClaim<T>: T | ParsedCapability<T["can"], T["with"], Partial<T["nb"]>>

Utility type is used to infer the type of the capability passed into derives handler. It simply makes all nb fields optional because in delegation all nb fields could be left out implying no restrictions.

Type Parameters

Generated using TypeDoc