diff --git a/lib/types/thread-types.js b/lib/types/thread-types.js --- a/lib/types/thread-types.js +++ b/lib/types/thread-types.js @@ -191,8 +191,6 @@ pinnedCount: t.maybe(t.Number), }); -export type ThreadInfo = LegacyThreadInfo | MinimallyEncodedThreadInfo; - export type LegacyResolvedThreadInfo = { +id: string, +type: ThreadType, @@ -417,7 +415,7 @@ }; export type SidebarInfo = { - +threadInfo: ThreadInfo, + +threadInfo: LegacyThreadInfo | MinimallyEncodedThreadInfo, +lastUpdatedTime: number, +mostRecentNonLocalMessage: ?string, }; @@ -504,6 +502,6 @@ }; export type UserProfileThreadInfo = { - +threadInfo: ThreadInfo, + +threadInfo: LegacyThreadInfo | MinimallyEncodedThreadInfo, +pendingPersonalThreadUserInfo?: UserInfo, };