Support type cast comments for meriyah parser (#17600)

This commit is contained in:
fisker Cheung authored and GitHub committed 2025-06-13 17:27:07 +08:00
1 parent ee90bbb751
commit 17cdff607a
3 files changed
+7 -8

No files matched your search

+2 -2
View File
@@ -1,4 +1,4 @@
#### Support type cast comments for `acorn` and `espree` parser (#17491, #17566 by @ArnaudBarre, #17587 by #fisker)
#### Support type cast comments for `acorn`, `espree`, and `meriyah` parser (#17491, #17566 by @ArnaudBarre, #17587, #17600 by #fisker)
This was previously only supported by the Babel parser.
@@ -7,7 +7,7 @@ This was previously only supported by the Babel parser.
// Input
/** @type {MyType} */ (x).foo;
// Prettier stable (--parser=acorn or --parser=espree)
// Prettier stable (--parser=acorn|espree|meriyah)
/** @type {MyType} */ x.foo;
// Prettier main