To fix the React Native navigation paramlist never used error, we add '@typescript-eslint/parser'
into .eslintrc
.
For instance, in .eslintrc, we write
{
"parser": "@typescript-eslint/parser"
}
We also need to download ‘@typescript-eslint/parser’ in your dev dependencies
To do this, we run
npm i @typescript-eslint/parser --save-dev