Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

types #73

Open
AllanOricil opened this issue Sep 8, 2024 · 0 comments
Open

types #73

AllanOricil opened this issue Sep 8, 2024 · 0 comments

Comments

@AllanOricil
Copy link

we cant use it in typescript

[!] (plugin rpt2) RollupError: [plugin rpt2] src/builder.ts:12:26 - error TS7016: Could not find a declaration file for module 'postcss-clean'. '/Users/allanoricil/nrg-lib/node_modules/postcss-clean/index.js' implicitly has an 'any' type.
  Try `npm i --save-dev @types/postcss-clean` if it exists or add a new declaration (.d.ts) file containing `declare module 'postcss-clean';`

12 import postcssClean from "postcss-clean";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant