From 68589635295c8679baa90279fd9b89f20c741ed4 Mon Sep 17 00:00:00 2001 From: ShacharHarshuv Date: Tue, 8 Oct 2024 15:18:07 -0400 Subject: [PATCH] Fix lint issue --- .../src/generators/convert-outputs/generator.ts | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/libs/plugin/src/generators/convert-outputs/generator.ts b/libs/plugin/src/generators/convert-outputs/generator.ts index 28430faa..bbcafbb0 100644 --- a/libs/plugin/src/generators/convert-outputs/generator.ts +++ b/libs/plugin/src/generators/convert-outputs/generator.ts @@ -260,15 +260,9 @@ export async function convertOutputsGenerator( if (Node.isPropertyDeclaration(node)) { const outputDecorator = node.getDecorator('Output'); if (outputDecorator) { - let { - name, - isReadonly, - docs, - scope, - type, - hasOverrideKeyword, - initializer, - } = node.getStructure(); + const { name, isReadonly, docs, scope, type, hasOverrideKeyword } = + node.getStructure(); + let { initializer } = node.getStructure(); if (!initializer) { // look for constructor initializer