* Fix issues in flow-comments to preserve comments and there order (fixes #10324) * Add support in flow-comments for extends in class declarations (fixes #10323, #10321) * Refactoring and cleanup of flow-comments plugin * Fix comments preservation logic of flow-comments * Fix flow-comments where comments are class identifier and extends keyword
@babel/plugin-transform-flow-comments
Turn flow type annotations into comments
See our website @babel/plugin-transform-flow-comments for more information.
Install
Using npm:
npm install --save-dev @babel/plugin-transform-flow-comments
or using yarn:
yarn add @babel/plugin-transform-flow-comments --dev