Type alias InferCreateOptions<R, C>

InferCreateOptions<R, C>: keyof C extends never
    ? {
        nb?: never;
        with: R;
    }
    : {
        nb: C;
        with: R;
    }

Type Parameters

  • R extends Resource

  • C extends {} | undefined

Generated using TypeDoc