You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
thanks for this great module for React Native, but without published newest beta in NPM i have been forced to build it by own.
Never worked with Typescript before so this was most caveats what i met.
Include all necessary dependencies into package.json
Remove setup.sh script and add all dependencies as devDependencies it is more automatized to build package
Add needed types to tsconfig.json
Just add types dependecies: "types": ["react", "react-native"]
dom library in tsconfig.json is conflicting with react native because Geolocation is defined in DOM and React-Native as same.
need to skip library checking in tsconfig.json "skipLibCheck": true
Then i was able to build whole package just with one command npm run build and it works seamsless.
The text was updated successfully, but these errors were encountered:
Hello,
thanks for this great module for React Native, but without published newest beta in NPM i have been forced to build it by own.
Never worked with Typescript before so this was most caveats what i met.
Remove setup.sh script and add all dependencies as
devDependencies
it is more automatized to build packageJust add types dependecies:
"types": ["react", "react-native"]
dom
library in tsconfig.json is conflicting with react native becauseGeolocation
is defined in DOM and React-Native as same.need to skip library checking in tsconfig.json
"skipLibCheck": true
Then i was able to build whole package just with one command
npm run build
and it works seamsless.The text was updated successfully, but these errors were encountered: