Merge pull request #134 from vjeux/generics

Support method generics on babylon parser
This commit is contained in:
James Long authored and GitHub committed 2017-01-12 13:50:10 -05:00
commit bbe2524dab
1 file changed
+4
+4
View File
@@ -1811,6 +1811,10 @@ function printObjectMethod(path, options, print) {
parts.push(key);
}
if (objMethod.typeParameters) {
parts.push(path.call(print, "typeParameters"));
}
parts.push(
multilineGroup(concat([
printFunctionParams(path, print, options),