Skip to content

Commit

Permalink
expo-screen-orientation libdef: Make an object type exact.
Browse files Browse the repository at this point in the history
An instance of zulip#3452.
  • Loading branch information
chrisbobbe committed Jun 30, 2021
1 parent 6fecba1 commit 7b884cd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions flow-typed/expo-screen-orientation_vx.x.x.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 7b884cd

Please sign in to comment.