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

TS7016: Could not find a declaration file for module 'inline-css' after upgrading to v1.6.0 #668

Closed
pxDot opened this issue Aug 2, 2021 · 2 comments

Comments

@pxDot
Copy link

pxDot commented Aug 2, 2021

After upgrading to v1.6.0 from v1.5.1 I get the following error when trying to build the application:

node_modules/@nestjs-modules/mailer/dist/interfaces/template-adapter-config.interface.d.ts:1:28 - error TS7016: Could not find a declaration file for module 'inline-css'. '/home/squareloop/test/server/node_modules/inlin
e-css/index.js' implicitly has an 'any' type.
  Try `npm i --save-dev @types/inline-css` if it exists or add a new declaration (.d.ts) file containing `declare module 'inline-css';`

1 import InlineCss = require('inline-css');

There are no such issues when building with v1.5.1.

@pxDot
Copy link
Author

pxDot commented Jan 20, 2022

Were you able to fix this?

Sadly no. I completely migrated away from this package to nodemailer and email-templates. I also try to keep my project dependencies clean of any inactive packages nowadays.

@xjuanc
Copy link

xjuanc commented Jan 20, 2022

Sadly no. I completely migrated away from this package to nodemailer and email-templates. I also try to keep my project dependencies clean of any inactive packages nowadays.

Prob gonna do the same thing. Thanks a lot for such a fast reply!

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

3 participants