From eaf2716239642e4b01deabe11c7736d42d9c2553 Mon Sep 17 00:00:00 2001 From: Chris Bobbe Date: Tue, 29 Jun 2021 23:04:33 -0400 Subject: [PATCH] r-n-document-picker libdef: Make object types exact or explicitly inexact. An instance of #3452. --- flow-typed/react-native-document-picker_v3.x.x.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/flow-typed/react-native-document-picker_v3.x.x.js b/flow-typed/react-native-document-picker_v3.x.x.js index 6c417580dff..bdffb2e5ced 100644 --- a/flow-typed/react-native-document-picker_v3.x.x.js +++ b/flow-typed/react-native-document-picker_v3.x.x.js @@ -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, @@ -22,6 +22,6 @@ declare module 'react-native-document-picker' { pickMultiple({| type?: FileType | FileType[] |}): Promise, - isCancel(err: ?{}): ?boolean, - }; + isCancel(err: ?{ ... }): ?boolean, + |}; }