From 01edfc155a0dcf9d84a78139be6b86b76232f2b4 Mon Sep 17 00:00:00 2001 From: Tomas <tomasysh@gmail.com> Date: 星期六, 05 八月 2023 17:52:23 +0800 Subject: [PATCH] Fixed: [弱掃] p14.2 Bad use of null-like value --- PAMapp/shared/models/consultant.model.ts | 24 ++++++++++++------------ 1 files changed, 12 insertions(+), 12 deletions(-) diff --git a/PAMapp/shared/models/consultant.model.ts b/PAMapp/shared/models/consultant.model.ts index 3a9c680..69bb11c 100644 --- a/PAMapp/shared/models/consultant.model.ts +++ b/PAMapp/shared/models/consultant.model.ts @@ -1,18 +1,18 @@ import { Appointment } from "./appointment.model"; export interface Consultant { - agentNo : string; - name : string; - img : string; - expertise : string[]; - avgScore : number; - contactStatus? : string; - createTime : Date | string; - updateTime : Date | string; - customerViewTime? : Date | string; - role : string; - seniority : string, - appointments? : Appointment[]; + agentNo : string; + appointments? : Appointment[]; + avgScore : number; + contactStatus? : string; + createTime : string; + customerViewTime?: string; + expertise : string[]; + img : string; + name : string; + role : string; + seniority : string; + updateTime : string; } export interface ConsultantWithAppointmentId extends Consultant { -- Gitblit v1.8.0