fix: แก้ type Update ให้รับ null ได้

This commit is contained in:
Net 2024-03-19 08:53:43 +07:00
parent fae2ee80b1
commit 323d95813b
8 changed files with 75 additions and 75 deletions

View file

@ -87,12 +87,12 @@ export class CreateProfileDuty {
}
export type UpdateProfileDuty = {
profileId: string | null;
isActive: boolean;
profileId?: string | null;
isActive?: boolean;
dateStart?: Date | null;
dateEnd?: Date | null;
detail: string | null;
reference: string | null;
detail?: string | null;
reference?: string | null;
refCommandDate?: Date | null;
refCommandNo: string | null;
refCommandNo?: string | null;
};