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