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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Could not find a declaration file for module 'graceful-fs' #9912

Closed
mbugrahanc opened this issue Apr 29, 2020 · 4 comments
Closed

Could not find a declaration file for module 'graceful-fs' #9912

mbugrahanc opened this issue Apr 29, 2020 · 4 comments

Comments

@mbugrahanc
Copy link

馃悰 Bug Report

Using jest@25.5.0

node_modules/jest-haste-map/build/types.d.ts:8:28 - error TS7016: Could not find a declaration file for module 'graceful-fs'. '/app/node_modules/graceful-fs/graceful-fs.js' implicitly has an 'any' type.
  Try `npm install @types/graceful-fs` if it exists or add a new declaration (.d.ts) file containing `declare module 'graceful-fs';`

8 import type { Stats } from 'graceful-fs';
@mbugrahanc
Copy link
Author

Cannot repro locally.

@SimenB
Copy link
Member

SimenB commented Apr 29, 2020

Oh sorry about this, fix open in #9913

@mbugrahanc
Copy link
Author

Thanks a lot @SimenB for the quick fix!

@github-actions
Copy link

This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Please note this issue tracker is not a help forum. We recommend using StackOverflow or our discord channel for questions.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators May 11, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants