Skip to content

Commit 0999018

Browse files
sgnyMoOx
authored andcommitted
ImageEditor: Remove unit from cropImage function arguments (#385)
1 parent 7723436 commit 0999018

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

‎bs-react-native-next/src/apis/ImageEditor.md‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,8 +38,7 @@ external cropImage:
3838
~uri: source,
3939
~cropData: cropData,
4040
~success: string => unit,
41-
~failure: (~code: int, ~message: string) => unit,
42-
unit
41+
~failure: (~code: int, ~message: string) => unit
4342
) =>
4443
unit =
4544
"cropImage";

‎bs-react-native-next/src/apis/ImageEditor.re‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,7 @@ external cropImage:
3131
~uri: source,
3232
~cropData: cropData,
3333
~success: string => unit,
34-
~failure: (~code: int, ~message: string) => unit,
35-
unit
34+
~failure: (~code: int, ~message: string) => unit
3635
) =>
3736
unit =
3837
"cropImage";

0 commit comments

Comments
 (0)