I use in my expo app react-navigation and in a class component, I want to navigate to another screen ...
I get the props in a function this way :
private signUp({navigation}): void { // eslint-disable-next-line no-console console.log('navigation', navigation); navigation.navigate('CheckSteps') } ... signUp={ () => this.signUp(this.props)} />
But at the level of my signUp function, on the navigation I have a typing error:
Binding element 'navigation' implicitly has an 'any' type
How to remove this error correctly ??