-
-
Notifications
You must be signed in to change notification settings - Fork 1
Fix (and ignore one!) type errors #8
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
Conversation
…writeTextFile, convert bigint to number in offset parameter usage, and ignore one type error that I do not understand 😅
Codecov Report
@@ Coverage Diff @@
## main #8 +/- ##
==========================================
+ Coverage 66.75% 67.74% +0.98%
==========================================
Files 2 2
Lines 361 372 +11
Branches 33 34 +1
==========================================
+ Hits 241 252 +11
Misses 120 120
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Thank you for your contribution! |
Hey @ayame113 I fixed up the PR and added tests for it - it actually works now, unlike my initial PR 😅 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎉🎉🎉🎉🎉🎉🎉🎉
🎉LGTM. very nice!!!🎉
🎉🎉🎉🎉🎉🎉🎉🎉
Related to handling ReadableStreams in writeFile and writeTextFile, convert bigint to number in offset parameter usage, and ignore one type error that I do not understand 😅
This change to the
writeFile
API was introduced, from what I can tell, in v1.30 of deno (here). The change to the seek operations seem to have come from here (also in v1.30).This seems to pass the tests now, at least.
Not sure if this is entirely correct - could use a bit of guidance and review. Happy to adjust it as needed.