Skip to content

Commit

Permalink
Fix some issues exposed when making function statics sealed
Browse files Browse the repository at this point in the history
Reviewed By: SamChou19815

Differential Revision: D40736389

fbshipit-source-id: a3e1c3f5723081bf76e2dbdb637b4deb7a54e180
  • Loading branch information
gkz authored and facebook-github-bot committed Oct 29, 2022
1 parent 38e068a commit 6621150
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 6 deletions.
6 changes: 2 additions & 4 deletions Libraries/Image/resolveAssetSource.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,8 +105,6 @@ function resolveAssetSource(source: any): ?ResolvedAssetSource {
return resolver.defaultAsset();
}

resolveAssetSource.pickScale = pickScale;
resolveAssetSource.setCustomSourceTransformer = setCustomSourceTransformer;
module.exports = resolveAssetSource;
// $FlowFixMe[prop-missing]
module.exports.pickScale = pickScale;
// $FlowFixMe[prop-missing]
module.exports.setCustomSourceTransformer = setCustomSourceTransformer;
3 changes: 1 addition & 2 deletions Libraries/Utilities/differ/deepDiffer.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,5 @@ const deepDiffer = function (
return false;
};

deepDiffer.unstable_setLogListeners = unstable_setLogListeners;
module.exports = deepDiffer;
// $FlowFixMe[prop-missing]
module.exports.unstable_setLogListeners = unstable_setLogListeners;

0 comments on commit 6621150

Please sign in to comment.