Current Behavior
It throws a syntax error.
Input Code
type A = ??T;
https://babeljs.io/repl/build/master#?babili=false&browsers=&build=&builtIns=false&code_lz=C4TwDgpgBAglC8UD8SAqBuIA&debug=false&forceAllTransforms=false&shippedProposals=false&circleciRepo=&evaluate=false&fileSize=false&lineWrap=true&presets=flow&prettier=false&targets=&version=7.0.0-beta.46&envVersion=
Expected behavior/code
It is the same as
type A = ? ?T;
Environment
Note that using the syntax-flow
plugin (i.e. not stripping the types) with type A = ? ?T;
outputs this:
type A = ??T;
which will fail to parse.
i would like to work on it
If you need help, join our Slack!