You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When importing the plugin in my vite.config.ts file
importcssoPluginfrom'postcss-csso'
I get the following error in VS Code:
Could not find a declaration file for module 'postcss-csso'. '/home/laurent/projects/myproject/node_modules/.pnpm/[email protected][email protected]/node_modules/postcss-csso/cjs/index.cjs' implicitly has an 'any' type.
Try `npm i --save-dev @types/postcss-csso` if it exists or add a new declaration (.d.ts) file containing `declare module 'postcss-csso';`ts(7016)
Could a type declaration file be added to tame TypeScript?
Cheers,
Laurent
The text was updated successfully, but these errors were encountered:
Hi, thanks for this nice plugin 👍
When importing the plugin in my vite.config.ts file
I get the following error in VS Code:
Could a type declaration file be added to tame TypeScript?
Cheers,
Laurent
The text was updated successfully, but these errors were encountered: