refactor: more TS code

This commit is contained in:
Tristan Yang
2022-07-29 22:59:22 +08:00
parent 6bb7af46a0
commit 33c24baecb
52 changed files with 232 additions and 273 deletions
+4 -4
View File
@@ -126,13 +126,13 @@ export const authApi = createApi({
}),
sendRegMagicLink: builder.mutation<
{
new_magic_token: "string";
new_magic_token: string;
mail_is_sent: boolean;
},
{
magic_token: "string";
email: "string";
password: "string";
magic_token: string;
email: string;
password: string;
}
>({
query: (data) => ({