Closed dengue8830 closed 5 years ago
+1
https://github.com/24ark/react-native-step-indicator/blob/a8b5aa41d56d5c4795a8edccc694959ed1c4ab90/index.d.ts#L253 Changing null to {} solve it. Source : https://stackoverflow.com/a/45026683 Pull request https://github.com/24ark/react-native-step-indicator/pull/36
version 0.0.10 fixes this issue
Problem
I'm trying to use steps in the simplest way and typescript complains but when i run the app it works fine
Error
package.json
dependencies
dev dependencies
Other info
vscode: v1.29.1 os: linux hint: when i use
const x = new StepIndicator({ labels: pasos, currentPosition: 0 });
it doesn't show errors and i can see the props suggestions