Skip to content

Commit

Permalink
fix: mark assets as optional (#1772)
Browse files Browse the repository at this point in the history
Typings are incorrect, and will cause potentially crashing apps if code is implemented incorrectly :-).
  • Loading branch information
msegers committed Jul 15, 2021
1 parent 81cf60f commit 6169753
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ export interface ImagePickerResponse {
didCancel?: boolean;
errorCode?: ErrorCode;
errorMessage?: string;
assets: Asset[];
assets?: Asset[];
}

export type PhotoQuality =
Expand Down

0 comments on commit 6169753

Please sign in to comment.