-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3e29e99
commit 7cafc34
Showing
1 changed file
with
43 additions
and
0 deletions.
There are no files selected for viewing
43 changes: 43 additions & 0 deletions
43
patches/react-native-gesture-handler+2.18.0+002+fixTypeExport.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,43 @@ | ||
diff --git a/node_modules/react-native-gesture-handler/lib/commonjs/components/Pressable/index.js b/node_modules/react-native-gesture-handler/lib/commonjs/components/Pressable/index.js | ||
index 291cd9a..7fa58c2 100644 | ||
--- a/node_modules/react-native-gesture-handler/lib/commonjs/components/Pressable/index.js | ||
+++ b/node_modules/react-native-gesture-handler/lib/commonjs/components/Pressable/index.js | ||
@@ -3,12 +3,6 @@ | ||
Object.defineProperty(exports, "__esModule", { | ||
value: true | ||
}); | ||
-Object.defineProperty(exports, "PressableProps", { | ||
- enumerable: true, | ||
- get: function () { | ||
- return _PressableProps.PressableProps; | ||
- } | ||
-}); | ||
Object.defineProperty(exports, "default", { | ||
enumerable: true, | ||
get: function () { | ||
@@ -16,8 +10,6 @@ Object.defineProperty(exports, "default", { | ||
} | ||
}); | ||
|
||
-var _PressableProps = require("./PressableProps"); | ||
- | ||
var _Pressable = _interopRequireDefault(require("./Pressable")); | ||
|
||
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; } | ||
diff --git a/node_modules/react-native-gesture-handler/lib/module/components/Pressable/index.js b/node_modules/react-native-gesture-handler/lib/module/components/Pressable/index.js | ||
index c80bb64..8b2c550 100644 | ||
--- a/node_modules/react-native-gesture-handler/lib/module/components/Pressable/index.js | ||
+++ b/node_modules/react-native-gesture-handler/lib/module/components/Pressable/index.js | ||
@@ -1,3 +1,2 @@ | ||
-export { PressableProps } from './PressableProps'; | ||
export { default } from './Pressable'; | ||
//# sourceMappingURL=index.js.map | ||
\ No newline at end of file | ||
diff --git a/node_modules/react-native-gesture-handler/src/components/Pressable/index.ts b/node_modules/react-native-gesture-handler/src/components/Pressable/index.ts | ||
index 740b7e1..fad8448 100644 | ||
--- a/node_modules/react-native-gesture-handler/src/components/Pressable/index.ts | ||
+++ b/node_modules/react-native-gesture-handler/src/components/Pressable/index.ts | ||
@@ -1,2 +1,2 @@ | ||
export { PressableProps } from './PressableProps'; | ||
-export { default } from './Pressable'; | ||
+export type { default } from './Pressable'; |