-
-
Notifications
You must be signed in to change notification settings - Fork 130
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 incompatibility for writeFile
#1022
Comments
michaelfaith
changed the title
TypeScript incompatibility for
Type incompatibility for Apr 3, 2024
writeFile
writeFile
PRs improving the types are always welcomed! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Originally reported in the
webpack
repo: webpack/webpack#18242 this appears to actually be a broken type here. When trying to assign anIFs
object to a prop of fs type, we get an error aboutwriteFile
and theWriteFileOptions
type not matching. Seems like the overloads are off a bit.Tested with the latest version of
memfs
(4.8.1)The text was updated successfully, but these errors were encountered: