forward all arguments to parseClassId in flow parser plugin
This commit is contained in:
parent
b581a7590c
commit
c318c88050
@ -703,8 +703,8 @@ export default function (instance) {
|
||||
});
|
||||
|
||||
instance.extend("parseClassId", function (inner) {
|
||||
return function (node, isStatement) {
|
||||
inner.call(this, node, isStatement);
|
||||
return function (node) {
|
||||
inner.apply(this, arguments);
|
||||
if (this.isRelational("<")) {
|
||||
node.typeParameters = this.flowParseTypeParameterDeclaration();
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user