Repository navigation
Commit e58c43a
authored
Stub the Windows module's
## Description
`RNGestureHandlerModule.windows.ts` exists so `react-native-windows`
apps compile. Every method is a no-op, yet it value-imported all 8
web-engine handler classes just to build the `Gestures` map, pulling the
entire engine into Windows bundles for a module that never instantiates
anything.
## Test plan
- `yarn ts-check` clean (the `satisfies` clause pins key names to the
web map); `yarn test` 103/103; `yarn lint:js` 0 errors
- Type-stripped emit: zero import statements - the Windows resolution is
dependency-free at runtimeGestures map (#4383)1 parent 0b82de0 commit e58c43a
1 file changed
Lines changed: 10 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
5 | | - | |
6 | | - | |
7 | | - | |
8 | | - | |
9 | | - | |
10 | | - | |
11 | | - | |
| 4 | + | |
12 | 5 | | |
13 | 6 | | |
14 | 7 | | |
15 | | - | |
16 | | - | |
17 | | - | |
18 | | - | |
19 | | - | |
20 | | - | |
21 | | - | |
22 | | - | |
23 | | - | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
24 | 17 | | |
25 | 18 | | |
26 | 19 | | |
| |||
0 commit comments