Answers for "could not find a declaration file for module 'solc'."

-2

Could not find a declaration file for module 'react'.

When a module is not yours - try to install types from @types:

npm install -D @types/module-name
Posted by: Guest on April-16-2021
-4

Could not find a declaration file for module 'react'

yarn add eslint-import-resolver-typescript -D

// Add in .eslintrc
"settings": {
        "import/resolver": {
            "typescript": {}
        }
    }
Posted by: Guest on September-23-2020

Code answers related to "could not find a declaration file for module 'solc'."

Code answers related to "TypeScript"

Browse Popular Code Answers by Language