Typescript error in version 4.10.0
See original GitHub issueI use this react-native-paper@^4.10.0 with typescript but got some typing errors
package.json
{
"name": "expo-app-",
"version": "1.0.0",
"main": "index.js",
"scripts": {
"android": "expo run:android",
"ios": "expo run:ios",
"web": "expo start --web",
"start": "react-native start"
},
"dependencies": {
"expo": "~43.0.0",
"expo-splash-screen": "~0.13.3",
"expo-status-bar": "~1.1.0",
"expo-updates": "~0.10.5",
"react": "17.0.1",
"react-dom": "17.0.1",
"react-native": "0.64.2",
"react-native-gesture-handler": "~1.10.2",
"react-native-paper": "^4.10.0",
"react-native-reanimated": "~2.2.0",
"react-native-safe-area-context": "3.3.2",
"react-native-screens": "~3.8.0",
"react-native-web": "0.17.1"
},
"devDependencies": {
"@babel/core": "^7.12.9",
"@types/react": "~17.0.1",
"@types/react-native": "~0.64.2",
"typescript": "^4.4.4"
},
"private": true
}
Issue Analytics
- State:
- Created 2 years ago
- Reactions:11
- Comments:35 (9 by maintainers)
Top Results From Across the Web
What is the correct version of the TypeScript compiler to use ...
1.) I upgraded my application's package.json to the Babylon '4.10.0' version using the TypeScript 3.4.5 compiler and did not encounter any ...
Read more >Gatsby 4 upgrade - typescript errors? Not using typescript
I'm getting these build errors and I don't know where to start! I'm not using gatsby-plugin-typescript. Thanks!
Read more >Documentation - TypeScript 3.9
TypeScript 3.9 Release Notes. ... of an upgrade between two different versions of TypeScript, and a line of code errors in one version...
Read more >Change Log - Ant Design
0. Release Schedule. Weekly release: patch version at the end of every week for routine bugfix (anytime for urgent bugfix).
Read more >Issues compiling typescript project with Typescript 4, React
However, I run into the following error web running a webpack build/serve. The precise dependency versions are as follows (listing just the ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Add this in
package.json
I think using paper
v4.10.1
with types0.66.x
solves the problem.