Browse Source

chore: update

wxyyxc1992 4 years ago
parent
commit
c12b14ee3a
2 changed files with 2 additions and 2 deletions
  1. 1
    1
      packages/cts-api/dist/types/messages.d.ts
  2. 1
    1
      packages/cts-api/src/messages.ts

+ 1
- 1
packages/cts-api/dist/types/messages.d.ts View File

@@ -12,7 +12,7 @@ export interface ChatroomMsg {
12 12
     member: string;
13 13
     authority?: number;
14 14
 }
15
-export interface ChatMsp {
15
+export interface ChatMsg {
16 16
     from: string;
17 17
     type: 'room';
18 18
     to: string;

+ 1
- 1
packages/cts-api/src/messages.ts View File

@@ -23,7 +23,7 @@ export interface ChatroomMsg {
23 23
   authority?: number;
24 24
 }
25 25
 
26
-export interface ChatMsp {
26
+export interface ChatMsg {
27 27
   from: string;
28 28
   type: 'room';
29 29
   to: string;