Skip to content

Commit

Permalink
tmp
Browse files Browse the repository at this point in the history
  • Loading branch information
PolyProgrammist committed Dec 22, 2023
1 parent a5d3852 commit 3fcc45e
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/codegen/generators/typescript/handle_field.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3fcc45e

Please sign in to comment.