upgrade to TypeScript 5.0 beta, and unbreak things that broke

This commit is contained in:
erik-krogh
2023-01-27 10:11:14 +01:00
parent a9e5b34ad6
commit d47659b48e
5 changed files with 12 additions and 12 deletions

View File

@@ -1159,7 +1159,7 @@ public class TypeScriptASTConverter {
loc,
hasModifier(node, "ConstKeyword"),
hasModifier(node, "DeclareKeyword"),
convertChildrenNotNull(node, "illegalDecorators"), // as of https://github.com/microsoft/TypeScript/pull/50343/ the property is called `illegalDecorators` instead of `decorators`
getDecorators(node),
convertChild(node, "name"),
convertChildren(node, "members"));
attachSymbolInformation(enumDeclaration, node);