Support type cast comments for meriyah parser (#17600)
This commit is contained in:
1 parent
ee90bbb751
commit
17cdff607a
3 files changed
+7
-8
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user