Fix type error
This commit is contained in:
@ -37,7 +37,7 @@ type RequestShapeSerializable = Omit<
|
|||||||
RequestShape,
|
RequestShape,
|
||||||
"createdAt" | "updatedAt" | "files" | "status"
|
"createdAt" | "updatedAt" | "files" | "status"
|
||||||
> & {
|
> & {
|
||||||
status: CommissionStatus;
|
status: CommissionStatus | string;
|
||||||
createdAt: string | Date;
|
createdAt: string | Date;
|
||||||
updatedAt: string | Date;
|
updatedAt: string | Date;
|
||||||
files: Array<Omit<RequestShape["files"][number], "createdAt"> & { createdAt: string | Date }>;
|
files: Array<Omit<RequestShape["files"][number], "createdAt"> & { createdAt: string | Date }>;
|
||||||
|
|||||||
Reference in New Issue
Block a user