Skip to content

Commit 2b862e0

Browse files
committed
wip
1 parent b695ee7 commit 2b862e0

File tree

1 file changed

+2
-2
lines changed
  • packages/signals/signals/src/core/signal-generators

1 file changed

+2
-2
lines changed

packages/signals/signals/src/core/signal-generators/dom-gen.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ interface ParsedElementBase {
5656
id: string
5757
labels?: Label[]
5858
label?: Label
59-
name: string
59+
name?: string
6060
nodeName: string
6161
tagName: string
6262
title: string
@@ -101,7 +101,7 @@ type AnyParsedElement =
101101

102102
const parseElement = (el: HTMLElement): AnyParsedElement => {
103103
const labels = parseLabels((el as HTMLInputElement).labels)
104-
const base = {
104+
const base: ParsedElementBase = {
105105
// adding a bunch of fields that are not on _all_ elements, but are on enough that it's useful to have them here.
106106
attributes: parseNodeMap(el.attributes),
107107
classList: [...el.classList],

0 commit comments

Comments
 (0)