Cannot augment module ‘console’ with value exports because it resolves to a non-module entity.

This error message appears when typings are exposed globally, yet TypeScript tries to validate module typings and the names conflict.

I got this with a Figma widget module @figma/plugin-typings, and the solution was quite simple – add this to your .tsconfig.json:

  "compilerOptions": {
    "skipLibCheck": true,

Et voilà!

Leave a Comment

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