Skip to content

Commit

Permalink
r-n-document-picker libdef: Make object types exact or explicitly ine…
Browse files Browse the repository at this point in the history
…xact.

An instance of zulip#3452.
  • Loading branch information
chrisbobbe authored and gnprice committed Jul 2, 2021
1 parent 6a72980 commit eaf2716
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions flow-typed/react-native-document-picker_v3.x.x.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ declare module 'react-native-document-picker' {

declare type FileType = string;

declare export default {
declare export default {|
types: {|
allFiles: FileType,
audio: FileType,
Expand All @@ -22,6 +22,6 @@ declare module 'react-native-document-picker' {

pickMultiple({| type?: FileType | FileType[] |}): Promise<DocumentPickerResponse[]>,

isCancel(err: ?{}): ?boolean,
};
isCancel(err: ?{ ... }): ?boolean,
|};
}

0 comments on commit eaf2716

Please sign in to comment.