Skip to content

Commit 1655676

Browse files
authored
Merge pull request #69 from github/fall-back-htmlelement-in-ssr-contexts
fall back HTMLElement in SSR contexts
2 parents aa116c9 + 11b8c2e commit 1655676

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

src/tab-container-element.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
const HTMLElement = globalThis.HTMLElement || (null as unknown as (typeof window)['HTMLElement'])
2+
13
type IncrementKeyCode = 'ArrowRight' | 'ArrowDown'
24
type DecrementKeyCode = 'ArrowUp' | 'ArrowLeft'
35

0 commit comments

Comments
 (0)