javascript - Flow types as type "objects" -


is possible namespace flow types via js object syntax, e.g.

type modalactiontype = {   open: string,   close: string, }; 

which allow me annotate via modalactiontype.open.

similarly, possible mass-import bunch of types via *, e.g.

import type * modalactiontype "./modalactions"; 

can't i've seen done anywhere, i'm hoping there flow config options hidden away allow this.


Comments

Popular posts from this blog

inversion of control - Autofac named registration constructor injection -

verilog - Systemverilog dynamic casting issues -

ios - Change Storyboard View using Seague -