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

Type declaration missing? #99

Closed
albiesoft opened this issue Mar 29, 2020 · 2 comments
Closed

Type declaration missing? #99

albiesoft opened this issue Mar 29, 2020 · 2 comments

Comments

@albiesoft
Copy link

Getting this error since yesterday:

Try npm install @types/nest-modules__mailer if it exists or add a new declaration (.d.ts) file containing declare module '@nest-modules/mailer';
api_1 | src/users/users.service.ts(4,31): error TS7016: Could not find a declaration file for module '@nest-modules/mailer'. '/app/node_modules/@nest-modules/mailer/index.js' implicitly has an 'any' type.

@juandav
Copy link
Member

juandav commented Mar 30, 2020

could you comment if you already solved the error or share an example where this is presented please

@ardyfeb
Copy link
Contributor

ardyfeb commented Mar 30, 2020

add this on package.json

  "main": "./dist/index.js",
  "files": [
    "./dist"
  ],

ardyfeb added a commit to ardyfeb/mailer that referenced this issue Mar 30, 2020
@juandav juandav closed this as completed Mar 31, 2020
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