Previously it would ignore the -o option in this case, and put
everything under exports/ instead of the requested
types/some-lib/, producing a file like:
exports/foo/bar.js.flow
which is less helpful.
If the user doesn't specify -o, then the behavior is unchanged.
This way, a command like:
will translate a file like:
into a file:
Previously it would ignore the
-o
option in this case, and put everything underexports/
instead of the requestedtypes/some-lib/
, producing a file like:which is less helpful.
If the user doesn't specify
-o
, then the behavior is unchanged.