Merge "Update Reviewers type in common.ts"
diff --git a/polygerrit-ui/app/types/common.ts b/polygerrit-ui/app/types/common.ts
index ed920eb..caa5f7f 100644
--- a/polygerrit-ui/app/types/common.ts
+++ b/polygerrit-ui/app/types/common.ts
@@ -150,10 +150,6 @@
  */
 export type LabelInfo = QuickLabelInfo | DetailedLabelInfo;
 
-export type Reviewers = {
-  REVIEWER?: AccountInfo[];
-  CC?: AccountInfo[];
-};
 interface LabelCommonInfo {
   optional?: boolean; // not set if false
 }
@@ -245,6 +241,15 @@
 }
 
 /**
+ * The reviewers as a map that maps a reviewer state to a list of AccountInfo
+ * entities. Possible reviewer states are REVIEWER, CC and REMOVED.
+ * REVIEWER: Users with at least one non-zero vote on the change.
+ * CC: Users that were added to the change, but have not voted.
+ * REMOVED: Users that were previously reviewers on the change, but have been removed.
+ */
+export type Reviewers = Partial<Record<ReviewerState, AccountInfo[]>>;
+
+/**
  * ChangeView request change detail with ALL_REVISIONS option set.
  * The response always contains current_revision and revisions.
  */