@babel/preset-flow

    In

    Out

    1. {
    2. }
    1. require("@babel/core").transform("code", {
    2. });

    boolean, defaults to false.

    Flow will only parse Flow-specific features if a @flow pragma is present atop the file, or the isset inside the .flowconfig.

    For example, without either of the above set, the following call expression with a type argument:

    Would get parsed as a nested binary expression:

    1. f < T > e;