Skip to content

Commit

Permalink
Merge pull request #69 from github/fall-back-htmlelement-in-ssr-contexts
Browse files Browse the repository at this point in the history
fall back HTMLElement in SSR contexts
  • Loading branch information
keithamus authored Feb 14, 2024
2 parents aa116c9 + 11b8c2e commit 1655676
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/tab-container-element.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
const HTMLElement = globalThis.HTMLElement || (null as unknown as (typeof window)['HTMLElement'])

type IncrementKeyCode = 'ArrowRight' | 'ArrowDown'
type DecrementKeyCode = 'ArrowUp' | 'ArrowLeft'

Expand Down

0 comments on commit 1655676

Please sign in to comment.