extension chrome cannot find name 'chrome' code example
Example: Cannot find name 'chrome'. TS2304
yarn add @types/chrome --dev
# or NPM
npm install @types/chrome --save-dev
yarn add @types/chrome --dev
# or NPM
npm install @types/chrome --save-dev