-
-
Notifications
You must be signed in to change notification settings - Fork 32k
module: improve typescript error message format #57687
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
Closed
Closed
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Review requested:
|
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #57687 +/- ##
=======================================
Coverage 90.23% 90.23%
=======================================
Files 630 630
Lines 185055 185073 +18
Branches 36221 36221
=======================================
+ Hits 166984 167009 +25
+ Misses 11043 11036 -7
Partials 7028 7028
🚀 New features to boost your workflow:
|
legendecas
approved these changes
Mar 30, 2025
Windows ofc 😫
|
d845cac
to
9fb2f5f
Compare
aduh95
approved these changes
Mar 31, 2025
RafaelGSS
approved these changes
Mar 31, 2025
Landed in 0d91070...1c2d98d |
JonasBa
pushed a commit
to JonasBa/node
that referenced
this pull request
Apr 11, 2025
PR-URL: nodejs#57687 Fixes: nodejs#56830 Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
JonasBa
pushed a commit
to JonasBa/node
that referenced
this pull request
Apr 11, 2025
PR-URL: nodejs#57687 Fixes: nodejs#56830 Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
marco-ippolito
added a commit
to marco-ippolito/node
that referenced
this pull request
Jun 25, 2025
PR-URL: nodejs#57687 Fixes: nodejs#56830 Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
marco-ippolito
pushed a commit
to marco-ippolito/node
that referenced
this pull request
Jun 25, 2025
PR-URL: nodejs#57687 Fixes: nodejs#56830 Reviewed-By: Chengzhong Wu <legendecas@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com> Reviewed-By: Rafael Gonzaga <rafael.nunu@hotmail.com>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
backport-open-v22.x
Indicate that the PR has an open backport
commit-queue-rebase
Add this label to allow the Commit Queue to land a PR in several commits.
lib / src
Issues and PRs related to general changes in the lib or src directory.
needs-ci
PRs that need a full CI run.
strip-types
Issues or PRs related to strip-types support
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Fixes: #56830
This PR improves the error messages generated by the transpiler.
Node.js v23.9.0:
This PR:
It removes the internal file path:
Removes the padding boxing the message:
In general it blends better with Node.js error style.
There is still an improvement to make that involves removing the whitespace around:
This depends from SWC and its currently being fixed.