InferNb<C>: keyof C extends never ? {
    nb?: never;
} : {
    nb: C;
}

Given an inferred capability infers if the nb field is optional or not

Type Parameters

  • C extends {} | undefined

Generated using TypeDoc