Skip to content

Commit 7cf8302

Browse files
author
Duke
committed
fix: ease up react type
1 parent 59a666a commit 7cf8302

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/react/index.tsx

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@ type Result<Value> =
188188
| { hasError: false; hasValue: false; value: undefined }
189189
| { hasError: true; hasValue: false; value: undefined; error: unknown }
190190
| { hasError: false; hasValue: true; value: Value }
191-
| { hasError: false; hasValue: false };
191+
| { hasError: boolean; hasValue: boolean; value?: Value };
192192

193193
const NOT_EMITTED = {
194194
kind: "not-emitted",

0 commit comments

Comments
 (0)