Search
UpdateFieldAttributes
UpdateFieldAttributes
The type of the attributes parameter of Field.setAttributes:
Definition
type UpdateFieldAttributes = Omit<Extract<UpdateField, { type: T["type"]; }>, "id" | "type">
const fileFieldAttributes: UpdateFieldAttributes<FileField> = {
Can also use typeof:
const fileFieldAttributes: UpdateFieldAttributes<typeof fileField> = {