Skip to content

Commit

Permalink
Apply strict typing to profile_type
Browse files Browse the repository at this point in the history
  • Loading branch information
Travis committed Dec 29, 2019
1 parent c654f05 commit 79ddd47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion dist/interfaces/profile.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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[];
Expand Down
2 changes: 1 addition & 1 deletion src/interfaces/profile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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[]
Expand Down

0 comments on commit 79ddd47

Please sign in to comment.