Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ To configure your project manually, follow these steps:
["aar", {"reverseJetify": true}],
["commonjs", {"flow": true}],
"module",
"typescript",
"typescript"
]
}
```
Expand All @@ -62,7 +62,7 @@ To configure your project manually, follow these steps:
```json
"main": "lib/commonjs/index.js",
"module": "lib/module/index.js",
"react-native": "src/index.js",
"react-native": "lib/module/index.js",
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR. This should be index.tsx for TypeScript projects (unless you're supporting old versions of React Native without TypeScript support):

Suggested change
"react-native": "lib/module/index.js",
"react-native": "src/index.tsx",
"types": "lib/typescript/src/index.d.ts",
"files": [
"lib/",
Expand Down