Fixing the build

This commit is contained in:
Keith Stevens
2023-01-16 18:58:44 +09:00
parent 68f22d0fa9
commit 7e1b57a93e
2 changed files with 10 additions and 2 deletions
@@ -27,6 +27,6 @@ Default.args = {
console.log(content);
},
mutate: () => {
console.log(mutate);
console.log("mutate");
},
};
+9 -1
View File
@@ -1,3 +1,7 @@
export interface TaskReplyNotSubmittable<T> {
content: T;
state: "NOT_SUBMITTABLE";
}
export interface TaskReplyValid<T> {
content: T;
state: "VALID";
@@ -11,4 +15,8 @@ export interface TaskReplyInValid<T> {
state: "INVALID";
}
export type TaskReplyState<T> = TaskReplyValid<T> | TaskReplyDefault<T> | TaskReplyInValid<T>;
export type TaskReplyState<T> =
| TaskReplyNotSubmittable<T>
| TaskReplyValid<T>
| TaskReplyDefault<T>
| TaskReplyInValid<T>;