From 4d0a77fa112bb8bfedc2bf523b6c037eaea5fb53 Mon Sep 17 00:00:00 2001 From: Davide Mininni Date: Wed, 23 Oct 2024 16:44:54 +0200 Subject: [PATCH] chore: minor fixes --- tools/manifest/custom-elements-manifest.config.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/manifest/custom-elements-manifest.config.js b/tools/manifest/custom-elements-manifest.config.js index 5d10951d71..3d394839dc 100644 --- a/tools/manifest/custom-elements-manifest.config.js +++ b/tools/manifest/custom-elements-manifest.config.js @@ -39,7 +39,7 @@ export function createManifestConfig(library = '') { if (node.kind === ts.SyntaxKind.ClassDeclaration) { node.jsDoc?.forEach((doc) => { - doc?.tags?.forEach((tag) => { + doc.tags?.forEach((tag) => { // eslint-disable-next-line lyne/local-name-rule if (tag.tagName.getText() === overrideTypeKey) { const [memberName, memberOverrideType] = tag.comment.split(' - '); @@ -90,8 +90,8 @@ export function createManifestConfig(library = '') { }; } }); + delete declaration[overrideTypeKey]; } - delete declaration[overrideTypeKey]; for (const member of declaration.members) { if (member.name.startsWith('_') && member.default) {