Type alias PickIsRec<SchemaItem, Recursive>

PickIsRec<SchemaItem, Recursive>: {
    [Key in keyof SchemaItem as SchemaItem[Key] extends Field & {
            recursiveType: true;
        }
        ? Recursive extends true
            ? Key
            : never
        : Recursive extends true
            ? never
            : Key]: SchemaItem[Key]
}

Type Parameters

  • SchemaItem

  • Recursive extends boolean

Generated using TypeDoc