Categories
React Native Answers

How to fix the React Native navigation paramlist never used error?

Spread the love

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

By John Au-Yeung

Web developer specializing in React, Vue, and front end development.

Leave a Reply

Your email address will not be published. Required fields are marked *