Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3357744
D5635.id18479.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
493 B
Referenced Files
None
Subscribers
None
D5635.id18479.diff
View Options
diff --git a/lib/types/message-types.js b/lib/types/message-types.js
--- a/lib/types/message-types.js
+++ b/lib/types/message-types.js
@@ -199,7 +199,7 @@
export function isMediaMessageType(ourMessageType: MessageType): boolean {
return mediaMessageTypes.has(ourMessageType);
}
-export function assetMediaMessageType(
+export function assertMediaMessageType(
ourMessageType: MessageType,
): MessageType {
invariant(isMediaMessageType(ourMessageType), 'MessageType is not media');
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 25, 1:18 AM (21 h, 7 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2577634
Default Alt Text
D5635.id18479.diff (493 B)
Attached To
Mode
D5635: [lib] Fix typo `assetMediaMessageType` => `assertMediaMessageType`
Attached
Detach File
Event Timeline
Log In to Comment