Skip to content

Commit 9682b4a

Browse files
SamChou19815facebook-github-bot
authored andcommitted
Pre-suppress errors ahead of builtin libdef improvements
Summary: X-link: facebook/react-native#49647 Changelog: [Internal] Reviewed By: panagosg7 Differential Revision: D70103465 fbshipit-source-id: 24f3c9fa7c56ed88609e60202d2a8c865fe18b47
1 parent f390cdf commit 9682b4a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/metro-runtime/src/polyfills/require.js

+1
Original file line numberDiff line numberDiff line change
@@ -888,6 +888,7 @@ if (__DEV__) {
888888
if (
889889
typeof window !== 'undefined' &&
890890
window.location != null &&
891+
// $FlowFixMe[method-unbinding]
891892
typeof window.location.reload === 'function'
892893
) {
893894
window.location.reload();

0 commit comments

Comments
 (0)