Explorar o código

Actualizar tipos

wilitp %!s(int64=4) %!d(string=hai) anos
pai
achega
ecc13e3e9f
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      app/src/context/auth/actionTypes.ts

+ 3 - 3
app/src/context/auth/actionTypes.ts

@@ -14,7 +14,7 @@ export type ActionType =
 
 export type Action = {
   type: ActionType;
-  username?: string;
-  userToken?: string;
-  error?: string;
+  username?: string | null;
+  userToken?: string | null;
+  error?: string | null;
 };