forked from Expensify/App
-
Notifications
You must be signed in to change notification settings - Fork 0
/
react-native-gesture-handler+2.18.0+002+fixTypeExport.patch
43 lines (41 loc) · 2.04 KB
/
react-native-gesture-handler+2.18.0+002+fixTypeExport.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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';