Skip to content

Commit

Permalink
chore: make ts happy
Browse files Browse the repository at this point in the history
  • Loading branch information
mvayngrib committed Jul 4, 2024
1 parent 558f61f commit 38942e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/reanimated2/PlatformChecker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export function isWeb(): boolean {
}

export function shouldBeUseWeb() {
return isJest() || isChromeDebugger() || isWeb() || (global.__DEV__ && process.env.REANIMATED_WEB === 'true');
return isJest() || isChromeDebugger() || isWeb() || (global as any).__DEV__ && process.env.REANIMATED_WEB === 'true');
}

export function nativeShouldBeMock() {
Expand Down

0 comments on commit 38942e9

Please sign in to comment.