You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using babylon parser. Flow parser handles the unambiguous examples correctly, and throws a SyntaxError on the ambiguous one, but converts comment types to regular types. playground
Is there anything prettier could do here? Since the flow parser converts the comments to regular types, there is currently no safe way to use prettier with the comment syntax.
Using babylon parser. Flow parser handles the unambiguous examples correctly, and throws a
SyntaxError
on the ambiguous one, but converts comment types to regular types. playgroundInput
Output
Expected
The text was updated successfully, but these errors were encountered: