Skip to content

Commit

Permalink
chore: ts check
Browse files Browse the repository at this point in the history
  • Loading branch information
duguyihou committed Nov 28, 2024
1 parent 08e1550 commit 7dd56ca
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions src/hooks/useDeviceOrientationChange.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useRef, useEffect, MutableRefObject } from 'react';
import Orientation, { OrientationCallback } from '../orientation';
import { useRef, useEffect, type MutableRefObject } from 'react';
import Orientation, { type OrientationCallback } from '../orientation';

export const useDeviceOrientationChange = (
callback: OrientationCallback
Expand Down
4 changes: 2 additions & 2 deletions src/hooks/useLockListener.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useRef, useEffect, MutableRefObject } from 'react';
import Orientation, { OrientationCallback } from '../orientation';
import { useRef, useEffect, type MutableRefObject } from 'react';
import Orientation, { type OrientationCallback } from '../orientation';

export const useLockListener = (callback: OrientationCallback): void => {
const savedCallback: MutableRefObject<OrientationCallback | undefined> =
Expand Down
4 changes: 2 additions & 2 deletions src/hooks/useOrientationChange.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { useRef, useEffect, MutableRefObject } from 'react';
import Orientation, { OrientationCallback } from '../orientation';
import { useRef, useEffect, type MutableRefObject } from 'react';
import Orientation, { type OrientationCallback } from '../orientation';

export const useOrientationChange = (callback: OrientationCallback): void => {
const savedCallback: MutableRefObject<OrientationCallback | undefined> =
Expand Down

0 comments on commit 7dd56ca

Please sign in to comment.