Closed
Description
Reproduction link
No response
Bug description
scripts-ts/bundle.ts:25:30 - error TS7016: Could not find a declaration file for module 'postcss-preset-env'. '/Users/doberkofler/MyDev/ljs_app/trunk/periscope/node_modules/postcss-preset-env/dist/index.cjs' implicitly has an 'any' type.
Try npm i --save-dev @types/postcss-preset-env
if it exists or add a new declaration (.d.ts) file containing declare module 'postcss-preset-env';
25 import postcssPresetEnv from 'postcss-preset-env';
~~~~~~~~~~~~~~~~~~~~
Actual Behavior
No response
Expected Behavior
No response
Can you reproduce it with npx @csstools/csstools-cli <plugin-name> minimal-example.css
?
N/A
npx
Output
No response
Extra config
No response
What plugin are you experiencing this issue on?
PostCSS Preset Env
Plugin version
9.4.0
What OS are you experiencing this on?
macOS
Node Version
20.11.0
Validations
- Follow our Code of Conduct
- Check that there isn't already an issue that request the same feature to avoid creating a duplicate.
Would you like to open a PR for this bug?
- I'm willing to open a PR
Metadata
Metadata
Assignees
Labels
No labels