diff --git a/lib/shared/message-utils.js b/lib/shared/message-utils.js --- a/lib/shared/message-utils.js +++ b/lib/shared/message-utils.js @@ -507,7 +507,7 @@ function isInvalidSidebarSource( message: RawMessageInfo | MessageInfo, -): boolean %checks { +): boolean { return ( (message.type === messageTypes.REACTION || message.type === messageTypes.EDIT_MESSAGE || diff --git a/lib/types/identity-service-types.js b/lib/types/identity-service-types.js --- a/lib/types/identity-service-types.js +++ b/lib/types/identity-service-types.js @@ -374,7 +374,7 @@ export type IdentityDeviceType = $Values; -function isIdentityDeviceType(deviceType: number): boolean %checks { +function isIdentityDeviceType(deviceType: number): boolean { return ( deviceType === 0 || deviceType === 1 ||