Ver código fonte

Actualizar tipos

wilitp 4 anos atrás
pai
commit
ecc13e3e9f
1 arquivos alterados com 3 adições e 3 exclusões
  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;
 };