From 3fcc45e7261f2d06b6f8c047265406d476125224 Mon Sep 17 00:00:00 2001 From: polyprogrammist Date: Thu, 21 Dec 2023 23:38:04 -0500 Subject: [PATCH] tmp --- src/codegen/generators/typescript/handle_field.ts | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/codegen/generators/typescript/handle_field.ts b/src/codegen/generators/typescript/handle_field.ts index 7f5827a..5b6f57f 100644 --- a/src/codegen/generators/typescript/handle_field.ts +++ b/src/codegen/generators/typescript/handle_field.ts @@ -79,13 +79,6 @@ export function handleField(field: TLBField | undefined, fieldDefinition: FieldD } if (fieldDefinition.expr instanceof CombinatorExpr || fieldDefinition.expr instanceof NameExpr || fieldDefinition.expr instanceof BuiltinZeroArgs || fieldDefinition.expr instanceof BuiltinOneArgExpr || fieldDefinition.expr instanceof MathExpr || fieldDefinition.expr instanceof CondExpr) { - let tmpTypeName: string; - if (fieldDefinition.expr instanceof MathExpr || fieldDefinition.expr instanceof CondExpr) { - tmpTypeName = '' - } else { - tmpTypeName = fieldDefinition.expr.name; - } - let thefield: TLBFieldType if (field != undefined) { thefield = field.fieldType