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
Post a Comment