Add a builder definition including name for tsTypeParameter (#10319)

This commit is contained in:
Even Alander
2019-08-15 19:59:08 +02:00
committed by Nicolò Ribaudo
parent f0c2364d01
commit eb3767d58b
3 changed files with 49 additions and 0 deletions

View File

@@ -494,6 +494,7 @@ defineType("TSTypeParameterDeclaration", {
});
defineType("TSTypeParameter", {
builder: ["constraint", "default", "name"],
visitor: ["constraint", "default"],
fields: {
name: {