refactor: handle value is null
This commit is contained in:
parent
829a5d8221
commit
f1813f4cca
2 changed files with 3 additions and 6 deletions
|
|
@ -313,8 +313,8 @@ export type EmployeePassportPayload = {
|
|||
type: string;
|
||||
expireDate: Date;
|
||||
birthDate: Date;
|
||||
updatedAt: Date;
|
||||
createdAt: Date;
|
||||
updatedAt?: Date;
|
||||
createdAt?: Date;
|
||||
workerStatus: string;
|
||||
nationality: string;
|
||||
gender: string;
|
||||
|
|
@ -325,7 +325,7 @@ export type EmployeePassportPayload = {
|
|||
firstNameEN: string;
|
||||
firstName: string;
|
||||
namePrefix: string;
|
||||
employeeId: string;
|
||||
employeeId?: string;
|
||||
number: string;
|
||||
id?: string;
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue