Rome detects imports that are only used in TS or Flow types and marks them when analyzing dependencies. These imports will not effect module order or be included in a bundle. Files that contain only types will never need to be included.
-
-
Yes but Type annotations with decorators allow reflection. You access the type annotation at runtime. Not sure you can detect decorator in parent nodes in AST.
Thanks. Twitter will use this to make your timeline better. UndoUndo
-
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.
he/him 