Skip to content

Commit

Permalink
Fix some cyclic types (#43630)
Browse files Browse the repository at this point in the history
Summary:
Pull Request resolved: #43630

Changelog: [Internal]

Reviewed By: gkz

Differential Revision: D55271602

fbshipit-source-id: cb93fae6231ade6e5865dd7e0756a12568dece12
  • Loading branch information
SamChou19815 authored and facebook-github-bot committed Mar 23, 2024
1 parent 38be5e3 commit 37e3626
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/react-native/Libraries/Core/ExceptionsManager.js
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ function reportException(
}

declare var console: {
error: typeof console.error,
_errorOriginal: typeof console.error,
error: (...data: $ReadOnlyArray<mixed>) => void,
_errorOriginal: (...data: $ReadOnlyArray<mixed>) => void,
reportErrorsAsExceptions: boolean,
...
};
Expand Down

0 comments on commit 37e3626

Please sign in to comment.