DEV Community 👩‍💻👨‍💻

Discussion on: Building Chrome extension with Vite ⚡️

aderchox profile image

Thanks, but I've done this and it doesn't work. I'm using VSCode and the intellisense is completely unaware of any chrome types. Can you try this yourself too in a quick example project?

Thread Thread
jpwebdev1337 profile image
JP • Edited on

Have you registered the types in your .tsconfig?

  // ...
  "compilerOptions": {
    // ...
    "types": ["chrome"],
Enter fullscreen mode Exit fullscreen mode

Mentioned here as well.