Commit fc90f7d
Reject deep imports in internal Flow roots
Summary:
Reject unsupported `react-native/*` deep imports in consumer Flow roots while retaining explicit mappings for supported secondary and internal compatibility entrypoints.
Keep the Jest preset package-internal type imports and the vendored React Native Windows `useMergeRefs` implementation import because package-relative imports across React Native packages are not supported and the latter preserves callback-ref cleanup semantics. Suppress only those intentional package-internal compatibility imports.
Changelog: [Internal]
Reviewed By: javache
Differential Revision: D1213772611 parent d478604 commit fc90f7d
2 files changed
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
11 | 12 | | |
12 | 13 | | |
13 | 14 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
13 | 14 | | |
14 | 15 | | |
15 | 16 | | |
| |||
0 commit comments