refactor: more TS code

This commit is contained in:
Tristan Yang
2022-08-03 08:50:27 +08:00
parent bba42f2f45
commit 0254b50a04
21 changed files with 77 additions and 52 deletions
+1 -1
View File
@@ -11,7 +11,7 @@ export interface StoredUser extends User {
export interface State {
ids: number[];
byId: { [id: number]: StoredUser | undefined };
byId: { [id: number]: StoredUser };
}
const initialState: State = {