Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F3357325
D5635.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.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
Sun, Nov 24, 11:32 PM (22 h, 12 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2577634
Default Alt Text
D5635.diff (493 B)
Attached To
Mode
D5635: [lib] Fix typo `assetMediaMessageType` => `assertMediaMessageType`
Attached
Detach File
Event Timeline
Log In to Comment