From e7e6c86cf192eb2e5d519cb472106147f72ac6d8 Mon Sep 17 00:00:00 2001 From: James Chen Date: Mon, 12 Aug 2024 16:53:59 +0800 Subject: [PATCH] Fix ts errors in engine-builder.ts --- modules/build-engine/src/engine-ts/engine-builder.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/build-engine/src/engine-ts/engine-builder.ts b/modules/build-engine/src/engine-ts/engine-builder.ts index 9526d71..75b5459 100644 --- a/modules/build-engine/src/engine-ts/engine-builder.ts +++ b/modules/build-engine/src/engine-ts/engine-builder.ts @@ -476,8 +476,8 @@ export class EngineBuilder { [ t.identifier(decName), (propertyValuePath.node ? - t.arrowFunctionExpression([], propertyValuePath.node) : - t.nullLiteral()), + t.arrowFunctionExpression([], propertyValuePath.node) : + t.nullLiteral()), ...args ] ))); @@ -488,8 +488,8 @@ export class EngineBuilder { [ t.identifier(decName), (propertyValuePath.node ? - t.arrowFunctionExpression([], propertyValuePath.node) : - t.nullLiteral()) + t.arrowFunctionExpression([], propertyValuePath.node) : + t.nullLiteral()) ] ))); }