-
Notifications
You must be signed in to change notification settings - Fork 147
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
Fix some TypeScript errors found with TypeScript 4.5 / Deno #829
Conversation
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.
Thanks for your contribution.
The PR looks good, but the compatibility break with Node 10 should be resolved before the PR get merged. Moving the logging
to a file call logging.ts
should solve the naming conflict.
Hmm, I see there is now a CI error but I'm not sure what it is. |
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.
🎹
Thanks for your contribution.
While I was working on a Deno driver for Neo4j that uses this codebase, I ran into some Typescript errors which this PR fixes.
These could be only relevant with the newer version of TypeScript (4.5) or with Deno's stricter
tsconfig
defaults, but I tried to fix them in a way that will work with Node and other versions/configurations of TypeScript without issues.I'll put explanations of each change inline.