File tree Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Expand file tree Collapse file tree 1 file changed +12
-11
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,8 @@ module ImagePicker = {
55 module Button = {
66 type t ;
77
8- [@ bs . obj ] external make : (~title : string , ~name : string ) => t = "" ;
8+ [@ bs . obj ]
9+ external make : (~title : string =?, ~name : string =?, unit ) => t = "" ;
910 };
1011
1112 module PermissionDenied = {
@@ -14,10 +15,10 @@ module ImagePicker = {
1415 [@ bs . obj ]
1516 external options :
1617 (
17- ~title : string =? ,
18- ~text : string =? ,
19- ~reTryTitle : string =? ,
20- ~okTitle : string =? ,
18+ ~title : string ,
19+ ~text : string ,
20+ ~reTryTitle : string ,
21+ ~okTitle : string ,
2122 unit
2223 ) =>
2324 t =
@@ -75,16 +76,16 @@ module ImagePicker = {
7576 "customButton": string ,
7677 "data": string ,
7778 "uri": string ,
78- "oriURL ": string ,
79+ "origURL ": option ( string ) ,
7980 "isVertical": bool ,
8081 "width": int ,
8182 "height": int ,
8283 "fileSize": int ,
83- "type": string ,
84- "fileName": string ,
85- "path": string ,
86- "latitude": float ,
87- "longitude": float ,
84+ "type": option ( string ) ,
85+ "fileName": option ( string ) ,
86+ "path": option ( string ) ,
87+ "latitude": option ( float ) ,
88+ "longitude": option ( float ) ,
8889 "timestamp": int ,
8990 "originalRotation": float ,
9091 };
You can’t perform that action at this time.
0 commit comments