-
Notifications
You must be signed in to change notification settings - Fork 154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue with eslint - tsc #222
Comments
Hi @hichemBAALI 👋 |
Hi again, I forgot to thank you about this library it helped a lot. ` The expected type comes from property 'gradientCenterColor' which is declared here on type 'itemType' node_modules/react-native-gifted-charts/src/PieChart/main.tsx:12:22 - error TS7016: Could not find a declaration file for module './colors'. '/Users/mac/Work/Tulix-Tech/Tulix-App/mobile-app-v2/node_modules/react-native-gifted-charts/src/PieChart/colors.js' implicitly has an 'any' type. 12 import {colors} from './colors'; node_modules/react-native-gifted-charts/src/PieChart/main.tsx:84:9 - error TS7034: Variable 'data' implicitly has type 'any[]' in some locations where its type cannot be determined. 84 const data = []; node_modules/react-native-gifted-charts/src/PieChart/main.tsx:254:17 - error TS7005: Variable 'data' implicitly has an 'any[]' type. 254 data[0].onPress |
Hi @hichemBAALI |
is there any workaround? |
Hi,
There are some errors that you are ignored which appears when someone is using ts in strict mode. Please, could you just take a look on that.
here an example of what I am getting
The text was updated successfully, but these errors were encountered: