refactor: add more Typescript code

This commit is contained in:
Tristan Yang
2022-07-05 22:19:45 +08:00
parent 1aafc03ef5
commit d8643fc8fe
6 changed files with 47 additions and 2 deletions
+1
View File
@@ -4,6 +4,7 @@ import { ContentTypes } from "../config";
import { addChannelMsg, removeChannelMsg } from "../slices/message.channel";
import { addUserMsg, removeUserMsg } from "../slices/message.user";
import { addMessage, removeMessage } from "../slices/message";
// import { ContentType } from "../../types/message";
export const onMessageSendStarted = async (
{