From 7b884cd69869969de34a1e85ea283f0bf7886f8f Mon Sep 17 00:00:00 2001 From: Chris Bobbe Date: Tue, 29 Jun 2021 23:12:37 -0400 Subject: [PATCH] expo-screen-orientation libdef: Make an object type exact. An instance of #3452. --- flow-typed/expo-screen-orientation_vx.x.x.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flow-typed/expo-screen-orientation_vx.x.x.js b/flow-typed/expo-screen-orientation_vx.x.x.js index c60059519af..1e37f7001c6 100644 --- a/flow-typed/expo-screen-orientation_vx.x.x.js +++ b/flow-typed/expo-screen-orientation_vx.x.x.js @@ -11,9 +11,9 @@ declare module 'expo-screen-orientation/build/ScreenOrientation' { // // So, copy it here (it's small). // https://github.com/expo/expo/blob/master/packages/%40unimodules/react-native-adapter/src/EventEmitter.ts#L13-L15 - declare type Subscription = { + declare type Subscription = {| remove: () => void, - }; + |}; import typeof { Orientation,