-
-
Notifications
You must be signed in to change notification settings - Fork 6
Typechecking fails with "moduleResolution": "node16" or "nodenext" #6
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
Comments
The root cause seems to be these lines, which omit the Lines 12 to 14 in ffcc82c
This is an error according to TypeScript policy: microsoft/TypeScript#52412 I suggest these lines should have |
Thanks @jameshfisher! I appreciate your time opening this.
Thanks again! 🙇 |
This comment has been minimized.
This comment has been minimized.
Hi! Thanks for taking the time to contribute! Because we treat issues as our backlog, we close duplicates to focus our work and not have to touch the same chunk of code for the same reason multiple times. This is also why we may mark something as duplicate that isn’t an exact duplicate but is closely related. Thanks, |
Hi team! It seems this post is a duplicate, but hasn’t been marked as such. Please post a comment w/ Thanks, |
Closes GH-6. Closes GH-7. Reviewed-by: Christian Murphy <[email protected]> Reviewed-by: Remco Haszing <[email protected]> Reviewed-by: Titus Wormer <[email protected]> Co-authored-by: Remco Haszing <[email protected]> Co-authored-by: Titus <[email protected]>
Initial checklist
Affected packages and versions
[email protected]
Link to runnable example
https://github.com/jameshfisher/bug-report-remark-node16
Steps to reproduce
Set
"moduleResolution"
to"node16"
or"nodenext"
intsconfig.json
.Run
tsc
.Expected behavior
No typechecking errors.
Actual behavior
Affected runtime and version
Node 16
Affected package manager and version
npm 8
Affected OS and version
macOS
Build and bundle tools
No response
The text was updated successfully, but these errors were encountered: