docs(estree/tokens): correct comment#19873
Conversation
There was a problem hiding this comment.
Pull request overview
This PR corrects a single-line documentation comment in the is_ts method implementation within JsonContext. The previous comment incorrectly stated "Returns true if serializing in JS style" (the inverse of the method's actual behavior), which is now fixed to "Returns true if serializing in TS style." This aligns the comment with the identical docstring used in all other is_ts definitions across the codebase.
Changes:
- Corrects the docstring for
JsonContext'sis_tsimplementation from "JS style" to "TS style"
Merging this PR will not alter performance
Comparing Footnotes
|
6d0e686 to
229a1e9
Compare
fd11f79 to
1d7aff9
Compare
229a1e9 to
6ef7e2f
Compare
1d7aff9 to
909bbe8
Compare
Merge activity
|
Just correct 2 comments.
6ef7e2f to
4636d4f
Compare
909bbe8 to
b2b7a64
Compare

Just correct 2 comments.