Skip to content

Commit f82a6ae

Browse files
fix error type
1 parent 7832d49 commit f82a6ae

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ReactNativeImagePicker.re

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ module ImagePicker = {
7272
type response = {
7373
.
7474
"didCancel": bool,
75-
"error": string,
75+
"error": option(string),
7676
"customButton": string,
7777
"data": string,
7878
"uri": string,

0 commit comments

Comments
 (0)