PSA: moved into babel/babel as @babel/parser -->
Summary: perf fix, flow bugfix, add support for https://github.com/facebook/jsx/issues/84, https://github.com/facebook/jsx/pull/93
JSXFragment
: <></>
interface JSXFragment <: Expression {
type: "JSXFragment";
openingFragment: JSXOpeningFragment;
children: [ JSXText | JSXExpressionContainer | JSXSpreadChild | JSXElement | JSXFragment ];
closingFragment: JSXClosingFragment;
}
interface JSXOpeningFragment <: Node {
type: "JSXOpeningFragment";
}
interface JSXClosingFragment <: Node {
type: "JSXClosingFragment";
}
v7.0.0-beta.27
pipelineOperator
plugin + 2 fixes for numeric separatorsTS
appended before like TSTypeAnnotation
instead of just TypeAnnotation
so that tools can differentiate if they need to.Main feature is support for private methods
get_harcoded_tests
function, use get_tests
(Nicolò Ribaudo)let child: Element<any> = <img src={url} key="img" />;
AST change
interface PrivateName <: Expression, Pattern {
type: "PrivateName";
- name: Identifier;
+ id: Identifier;
}
v7.0.0-beta.21