Update exports field to include the types entry (#50974)

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

Changelog: [Internal]

Reviewed By: huntie

Differential Revision: D73835331

fbshipit-source-id: dc5002287408177db527140db967928a7714cf56
This commit is contained in:
Jakub Piasecki
2025-04-29 07:37:39 -07:00
committed by Facebook GitHub Bot
parent 46ddb604d9
commit d2556c3cbd
+2
View File
@@ -32,11 +32,13 @@
".": {
"react-native-strict-api": "./types_generated/index.d.ts",
"react-native-strict-api-UNSAFE-ALLOW-SUBPATHS": "./types_generated/index.d.ts",
"types": "./types/index.d.ts",
"default": "./index.js"
},
"./*": {
"react-native-strict-api": null,
"react-native-strict-api-UNSAFE-ALLOW-SUBPATHS": "./types_generated/*.d.ts",
"types": "./*.d.ts",
"default": "./*.js"
},
"./*.js": {