When using the flow parser, all flow annotations inside of special comments (/*: ... */ and /*:: ... */) are printed as annotations without comments. Example.
It is not always feasible to switch to babylon as parser, so it would be nice if prettier would support outputting comments with flow’s parser, too.
When using the flow parser, all flow annotations inside of special comments (
/*: ... */and/*:: ... */) are printed as annotations without comments. Example.It is not always feasible to switch to babylon as parser, so it would be nice if prettier would support outputting comments with flow’s parser, too.