From 7e62345ec4330735a5d15597648de64d1e15093e Mon Sep 17 00:00:00 2001 From: Omayeli Arenyeka Date: Tue, 15 Aug 2023 18:50:38 -0400 Subject: [PATCH 1/2] Update builders.ts --- src/gen/builders.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gen/builders.ts b/src/gen/builders.ts index cd48c8dc..6486b547 100644 --- a/src/gen/builders.ts +++ b/src/gen/builders.ts @@ -878,6 +878,7 @@ export interface ClassPropertyBuilder { access?: "public" | "private" | "protected" | undefined; comments?: K.CommentKind[] | null; computed?: boolean; + decorators?: K.DecoratorKind[] | null; key: K.LiteralKind | K.IdentifierKind | K.ExpressionKind; loc?: K.SourceLocationKind | null; static?: boolean; @@ -4018,4 +4019,4 @@ export interface builders { tsInterfaceDeclaration: TSInterfaceDeclarationBuilder; tsParameterProperty: TSParameterPropertyBuilder; [builderName: string]: any; -} \ No newline at end of file +} From 3e3135777f5bf6575dd5db0ad1aa6015a76e3bdc Mon Sep 17 00:00:00 2001 From: Omayeli Arenyeka Date: Tue, 15 Aug 2023 19:00:43 -0400 Subject: [PATCH 2/2] Update namedTypes.ts --- src/gen/namedTypes.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gen/namedTypes.ts b/src/gen/namedTypes.ts index c2e481b0..5894c827 100644 --- a/src/gen/namedTypes.ts +++ b/src/gen/namedTypes.ts @@ -433,6 +433,7 @@ export namespace namedTypes { typeAnnotation?: K.TypeAnnotationKind | K.TSTypeAnnotationKind | null; variance?: K.VarianceKind | "plus" | "minus" | null; access?: "public" | "private" | "protected" | undefined; + decorators?: K.DecoratorKind[] | null; } export interface StaticBlock extends Omit { @@ -2310,4 +2311,4 @@ export interface NamedTypes { TSInterfaceBody: Type; TSInterfaceDeclaration: Type; TSParameterProperty: Type; -} \ No newline at end of file +}