Skip to content

Commit 207a412

Browse files
committed
Add type of isMIUI helper
1 parent 1b1a968 commit 207a412

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

index.d.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,7 @@ declare module "react-device-detect" {
6161
export import isWindows = ReactDeviceDetect.isWindows;
6262
export import isMacOs = ReactDeviceDetect.isMacOs;
6363
export import withOrientationChange = ReactDeviceDetect.withOrientationChange;
64+
export import isMIUI = ReactDeviceDetect.isMIUI;
6465
}
6566

6667
declare namespace ReactDeviceDetect {
@@ -196,4 +197,6 @@ declare namespace ReactDeviceDetect {
196197
export const isWindows: boolean;
197198

198199
export const isMacOs: boolean;
200+
201+
export const isMIUI: boolean;
199202
}

0 commit comments

Comments
 (0)