mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
RN: Migrate to ESM - BackHandler (#51439)
Summary: Pull Request resolved: https://github.com/facebook/react-native/pull/51439 Migrates the `BackHandler` mock to use ESM to mitigate the existing lint warning. I'm actually not sure this is even used anywhere… and the unmocked `BackHandler` is already using ESM. Changelog: [Internal] Reviewed By: SamChou19815 Differential Revision: D74949885 fbshipit-source-id: 7f37212db2125bb7afdbd342175e3beae6c7c14f
This commit is contained in:
committed by
Facebook GitHub Bot
parent
4434707967
commit
77f2cb27be
@@ -42,4 +42,4 @@ const BackHandler = {
|
||||
},
|
||||
};
|
||||
|
||||
module.exports = BackHandler;
|
||||
export default BackHandler;
|
||||
|
||||
Reference in New Issue
Block a user