Skip to content

Commit

Permalink
Merge pull request prscX#166 from DonovanDeSmedt/bugfix/typescript-issue
Browse files Browse the repository at this point in the history
Fix typing issues - Typescript check
  • Loading branch information
prscX committed Dec 23, 2020
2 parents 6246f8c + 87211e6 commit e988f79
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -53,10 +53,10 @@ export default class PhotoEditor {

RNPhotoEditor.Edit(
{ colors, hiddenControls, stickers, ...props },
(imagePath) => {
(imagePath: string) => {
onDone && onDone(imagePath)
},
(resultCode) => {
(resultCode: number) => {
onCancel && onCancel(resultCode)
}
)
Expand Down

0 comments on commit e988f79

Please sign in to comment.