Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3528973
D10654.id35688.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
824 B
Referenced Files
None
Subscribers
None
D10654.id35688.diff
View Options
diff --git a/lib/utils/drawer-utils.react.js b/lib/utils/drawer-utils.react.js
--- a/lib/utils/drawer-utils.react.js
+++ b/lib/utils/drawer-utils.react.js
@@ -26,7 +26,7 @@
function createRecursiveDrawerItemsData<LabelStyleType>(
childThreadInfosMap: {
- +[id: string]: $ReadOnlyArray<LegacyThreadInfo | ThreadInfo>,
+ +[id: string]: $ReadOnlyArray<ThreadInfo>,
},
communities: $ReadOnlyArray<ResolvedThreadInfo>,
labelStyles: $ReadOnlyArray<LabelStyleType>,
@@ -66,9 +66,9 @@
}
function threadHasSubchannels(
- threadInfo: LegacyThreadInfo | ThreadInfo,
+ threadInfo: ThreadInfo,
childThreadInfosMap: {
- +[id: string]: $ReadOnlyArray<LegacyThreadInfo | ThreadInfo>,
+ +[id: string]: $ReadOnlyArray<ThreadInfo>,
},
): boolean {
if (!childThreadInfosMap[threadInfo.id]?.length) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Dec 25, 11:36 AM (3 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2702600
Default Alt Text
D10654.id35688.diff (824 B)
Attached To
Mode
D10654: [lib] Remove instances of `LegacyThreadInfo` from `DrawerUtils`
Attached
Detach File
Event Timeline
Log In to Comment