https://github.com/Microsoft/TypeScript
Revision 795c53a786c01e1ae0fb7b73c62af9df1870b26c authored by Nathan Shively-Sanders on 07 September 2022, 18:45:40 UTC, committed by Nathan Shively-Sanders on 07 September 2022, 18:45:40 UTC
Previously, backticks in JSDoc ended at the end of a line. This PR
changes that so that backticks continue parsing until another backtick.

Note that triple backticks and single backticks are treated the same
way. The change is already very clunky, and I haven't thought about how
much clunkier it would be to track backtick history in the parser.
1 parent b58721f
History
Tip revision: 795c53a786c01e1ae0fb7b73c62af9df1870b26c authored by Nathan Shively-Sanders on 07 September 2022, 18:45:40 UTC
JSDoc comment parsing supports multiline backticks
Tip revision: 795c53a
File Mode Size
.devcontainer
.github
.vscode
bin
doc
lib
scripts
src
tests
.dockerignore -rw-r--r-- 986 bytes
.editorconfig -rw-r--r-- 188 bytes
.eslintignore -rw-r--r-- 617 bytes
.eslintplugin.js -rw-r--r-- 391 bytes
.eslintrc.json -rw-r--r-- 6.5 KB
.gitattributes -rw-r--r-- 42 bytes
.gitignore -rw-r--r-- 2.9 KB
.yarnrc -rw-r--r-- 27 bytes
CODE_OF_CONDUCT.md -rw-r--r-- 333 bytes
CONTRIBUTING.md -rw-r--r-- 15.4 KB
CopyrightNotice.txt -rw-r--r-- 812 bytes
Dockerfile -rw-r--r-- 252 bytes
Gulpfile.js -rw-r--r-- 31.2 KB
LICENSE.txt -rw-r--r-- 9.0 KB
README.md -rw-r--r-- 3.1 KB
SECURITY.md -rw-r--r-- 2.7 KB
ThirdPartyNoticeText.txt -rw-r--r-- 36.9 KB
package-lock.json -rw-r--r-- 662.9 KB
package.json -rw-r--r-- 3.8 KB

README.md

back to top