Positions service controller #29
Annotations
4 errors
Check tsc
Argument of type '{ id: string; firstName: string; lastName: string; departmentId: string; department: DepartmentEntity; email: string; pswdHash: string; createdAt: Date; updatedAt: Date; }' is not assignable to parameter of type 'Partial<EmployeeEntity>'.
|
Check tsc
Argument of type '{ id: string; firstName: string; lastName: string; departmentId: string; department: DepartmentEntity; email: string; pswdHash: string; createdAt: Date; updatedAt: Date; }' is not assignable to parameter of type 'Partial<EmployeeEntity>'.
|
Check tsc
Argument of type '() => Promise<{ id: string; firstName: string; lastName: string; departmentId: string; department: { id: string; name: string; createdAt: Date; updatedAt: Date; }; email: string; pswdHash: string; createdAt: Date; updatedAt: Date; }[]>' is not assignable to parameter of type '(limit?: number | undefined) => Promise<({ position: { department: { id: string; name: string; createdAt: Date; updatedAt: Date; }; signatureFields: { id: string; name: string; order: number; createdAt: Date; updatedAt: Date; signerPositionId: string | null; formTemplateId: string; }[]; } & { ...; }; } & { ...; })[]>'.
|
Check tsc
Process completed with exit code 2.
|