Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
silesky committed Oct 31, 2024
1 parent b695ee7 commit 2b862e0
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ interface ParsedElementBase {
id: string
labels?: Label[]
label?: Label
name: string
name?: string
nodeName: string
tagName: string
title: string
Expand Down Expand Up @@ -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],
Expand Down

0 comments on commit 2b862e0

Please sign in to comment.