Skip to content

Commit a0447f4

Browse files
authored
Update Types.ts
1 parent 9c93f18 commit a0447f4

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/Types.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,10 @@ export type Match = {
4040
}
4141

4242
export type Move = {
43-
player: string;
43+
player: UserData['uid'];
4444
move: string;
4545
time: string;
46-
friend?: string;
46+
friend?: UserData['uid'];
4747
}
4848

4949
export type GameType = {
@@ -65,7 +65,7 @@ export type Chat = {
6565
// timestamp
6666
[key: number]: {
6767
// cj123
68-
author: string,
68+
author: UserData['uid'],
6969
// Hello World!
7070
message: string
7171
}

0 commit comments

Comments
 (0)