We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If I run babel --plugins babel-plugin-flow-to-typescript on this file:
babel --plugins babel-plugin-flow-to-typescript
type t = [ number, // comment 1 number, // comment 2 ];
It prints this:
type t = [number, number];
The comments got stripped out.
If I run it on this:
type t = { a: number, // comment 1 b: number, // comment 2 };
I get this:
type t = { a: number; // comment 1 b: number; };
One comment was stripped out and the other was moved.
The text was updated successfully, but these errors were encountered:
No branches or pull requests
If I run
babel --plugins babel-plugin-flow-to-typescript
on this file:It prints this:
The comments got stripped out.
If I run it on this:
I get this:
One comment was stripped out and the other was moved.
The text was updated successfully, but these errors were encountered: