Commit 8638a19
Remove unused types/*.d.ts export subpath (#57362)
Summary:
Pull Request resolved: #57362
The `"./types/*.d.ts"` entry was an overly defensive addition during our non-breaking `"exports"` field addition back in 0.80.
In reality, this subpath has no real consumers: the legacy types entry point (`.`) resolves its own declaration files through relative references, and the supported deep-import surface is `react-native/Libraries/*`, not `react-native/types/*`.
Type resolution of the main entry point and of `react-native/Libraries/*` deep imports is unaffected, and there is no runtime impact (these are declaration files).
Follows the exports-map cleanup in #57276.
Changelog: [Internal]
Reviewed By: javache
Differential Revision: D110044754
fbshipit-source-id: 0ddea81417e765503de01c8c43800f4114c81eb31 parent ce72288 commit 8638a19
1 file changed
Lines changed: 0 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
52 | 52 | | |
53 | 53 | | |
54 | 54 | | |
55 | | - | |
56 | | - | |
57 | | - | |
58 | | - | |
59 | 55 | | |
60 | 56 | | |
61 | 57 | | |
| |||
0 commit comments