From 2b862e021183883587ba03a53a62946fb16213ad Mon Sep 17 00:00:00 2001 From: Seth Silesky <5115498+silesky@users.noreply.github.com> Date: Thu, 31 Oct 2024 15:44:48 -0500 Subject: [PATCH] wip --- .../signals/signals/src/core/signal-generators/dom-gen.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/signals/signals/src/core/signal-generators/dom-gen.ts b/packages/signals/signals/src/core/signal-generators/dom-gen.ts index 015b80ea4..94e39c4cb 100644 --- a/packages/signals/signals/src/core/signal-generators/dom-gen.ts +++ b/packages/signals/signals/src/core/signal-generators/dom-gen.ts @@ -56,7 +56,7 @@ interface ParsedElementBase { id: string labels?: Label[] label?: Label - name: string + name?: string nodeName: string tagName: string title: string @@ -101,7 +101,7 @@ type AnyParsedElement = const parseElement = (el: HTMLElement): AnyParsedElement => { const labels = parseLabels((el as HTMLInputElement).labels) - const base = { + const base: ParsedElementBase = { // adding a bunch of fields that are not on _all_ elements, but are on enough that it's useful to have them here. attributes: parseNodeMap(el.attributes), classList: [...el.classList],