Explicitly exclude types_generated/ from "exports" (#51121)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/51121

Previously could match via the `"./*"` subpath when `"react-native-strict-api"` is not set. Only the entry point `./types_generated/index.d.ts` should be exposed.

Changelog: [Internal]

Reviewed By: cortinico

Differential Revision: D74242716

fbshipit-source-id: 232c90f34fafe8fdf1a5a7ef1fec4acc191525b4
This commit is contained in:
Alex Hunt
2025-05-06 07:26:04 -07:00
committed by Facebook GitHub Bot
parent c34987f0b5
commit 9bccd6c4ea
+1
View File
@@ -64,6 +64,7 @@
"./src/*": null,
"./third-party-podspecs/*": null,
"./types/*": null,
"./types_generated/*": null,
"./package.json": "./package.json"
},
"jest-junit": {