From 79ddd4742b820cd630661820600896bbf1bb30cb Mon Sep 17 00:00:00 2001 From: Travis Date: Mon, 30 Dec 2019 09:20:00 +1100 Subject: [PATCH] Apply strict typing to profile_type --- dist/interfaces/profile.d.ts | 2 +- src/interfaces/profile.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/interfaces/profile.d.ts b/dist/interfaces/profile.d.ts index 5689850..e491075 100644 --- a/dist/interfaces/profile.d.ts +++ b/dist/interfaces/profile.d.ts @@ -15,7 +15,7 @@ export interface UserProfile { edited_date?: number | string; error?: ErrorResponse; profile_id?: string; - profile_type?: string; + profile_type?: ProfileType; remark?: string; sections?: ProfileSection[]; associated_privileges?: ProfilePrivItem[]; diff --git a/src/interfaces/profile.ts b/src/interfaces/profile.ts index 6efbc74..53654cc 100644 --- a/src/interfaces/profile.ts +++ b/src/interfaces/profile.ts @@ -19,7 +19,7 @@ export interface UserProfile { error?: ErrorResponse profile_id?: string - profile_type?: string + profile_type?: ProfileType remark?: string sections?: ProfileSection[] associated_privileges?: ProfilePrivItem[]