Skip to content

Commit

Permalink
Pre-suppress errors ahead of 0.261.1 release in xplat
Browse files Browse the repository at this point in the history
Reviewed By: panagosg7

Differential Revision: D69610953

fbshipit-source-id: 3eec28d72e26c2f48542523dd610590e298eba69
  • Loading branch information
SamChou19815 authored and facebook-github-bot committed Feb 13, 2025
1 parent 3a16e22 commit 4b80697
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/relay-runtime/store/RelayReader.js
Original file line number Diff line number Diff line change
Expand Up @@ -283,6 +283,7 @@ class RelayReader {
if (record === undefined) {
this._markDataAsMissing('<record>');
}
// $FlowFixMe[incompatible-return]
return record;
}
const data = prevData || {};
Expand Down
1 change: 1 addition & 0 deletions packages/relay-runtime/store/StoreInspector.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@ if (__DEV__) {
): ?{[string]: mixed} => {
const record = source.get(dataID);
if (record == null) {
// $FlowFixMe[incompatible-return]
return record;
}
return new Proxy(
Expand Down

0 comments on commit 4b80697

Please # to comment.