Explorar el Código

Actualizar tipos

wilitp hace 4 años
padre
commit
ecc13e3e9f
Se han modificado 1 ficheros con 3 adiciones y 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;
 };