File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -357,7 +357,7 @@ export const getExitOpenChannel = (state: SendBirdState) => (
357357/**
358358 * const freezeChannel = selectors.getFreezeChannel(currentChannel);
359359 * freezeChannel()
360- * .then((channel ) => {})
360+ * .then(() => {})
361361 * .catch((error) => {})
362362 */
363363export const getFreezeChannel = ( ) => (
@@ -572,11 +572,11 @@ export const getUpdateUserMessage = (state: SendBirdState) => (
572572 * channel: GroupChannel | OpenChannel,
573573 * message: SendableMessage,
574574 * )
575- * .then(() => {})
575+ * .then((deletedMessage ) => {})
576576 * .catch((error) => {})
577577 */
578578export const getDeleteMessage = ( state : SendBirdState ) => (
579- ( channel : GroupChannel | OpenChannel , message : SendableMessage ) : Promise < SendableMessage > => (
579+ ( channel : GroupChannel | OpenChannel , message : UserMessage | FileMessage ) : Promise < UserMessage | FileMessage > => (
580580 new Promise ( ( resolve , reject ) => {
581581 const pubSub = getPubSub ( state ) ;
582582 const { messageId } = message ;
You can’t perform that action at this time.
0 commit comments