浏览代码

Actualizar tipos

wilitp 4 年之前
父节点
当前提交
ecc13e3e9f
共有 1 个文件被更改,包括 3 次插入3 次删除
  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;
 };