We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b695ee7 commit 2b862e0Copy full SHA for 2b862e0
packages/signals/signals/src/core/signal-generators/dom-gen.ts
@@ -56,7 +56,7 @@ interface ParsedElementBase {
56
id: string
57
labels?: Label[]
58
label?: Label
59
- name: string
+ name?: string
60
nodeName: string
61
tagName: string
62
title: string
@@ -101,7 +101,7 @@ type AnyParsedElement =
101
102
const parseElement = (el: HTMLElement): AnyParsedElement => {
103
const labels = parseLabels((el as HTMLInputElement).labels)
104
- const base = {
+ const base: ParsedElementBase = {
105
// adding a bunch of fields that are not on _all_ elements, but are on enough that it's useful to have them here.
106
attributes: parseNodeMap(el.attributes),
107
classList: [...el.classList],
0 commit comments