We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7b2f802 commit bb105bcCopy full SHA for bb105bc
index.d.ts
@@ -82,11 +82,11 @@ declare class Orientation {
82
83
export default Orientation;
84
85
-declare function useOrientationChange(listener: (orientation: OrientationType) => void);
+declare function useOrientationChange(listener: (orientation: OrientationType) => void): void;
86
87
-declare function useDeviceOrientationChange(listener: (orientation: OrientationType) => void);
+declare function useDeviceOrientationChange(listener: (orientation: OrientationType) => void): void;
88
89
-declare function useLockListener(listener: (orientation: OrientationType) => void);
+declare function useLockListener(listener: (orientation: OrientationType) => void): void;
90
91
export {
92
useOrientationChange,
0 commit comments