Browse Source

ref(ts): OrganizationSummary status IS ObjectStatus (#32855)

Evan Purkhiser 3 years ago
parent
commit
e01e12fd5a
1 changed files with 2 additions and 3 deletions
  1. 2 3
      static/app/types/organization.tsx

+ 2 - 3
static/app/types/organization.tsx

@@ -1,4 +1,4 @@
-import {Actor, Avatar, Scope} from './core';
+import {Actor, Avatar, ObjectStatus, Scope} from './core';
 import {OrgExperiments} from './experiments';
 import {ExternalTeam} from './integrations';
 import {OnboardingTaskStatus} from './onboarding';
@@ -19,8 +19,7 @@ export type OrganizationSummary = {
   require2FA: boolean;
   slug: string;
   status: {
-    // TODO(ts): Are these fields == `ObjectStatus`?
-    id: string;
+    id: ObjectStatus;
     name: string;
   };
 };