Skip to content

Commit

Permalink
Merge pull request #730 from missive/remove-optional-chaining
Browse files Browse the repository at this point in the history
Remove optional chaining
  • Loading branch information
EtienneLem authored Nov 11, 2022
2 parents fe2d7cc + c280977 commit 918e6cc
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
// @ts-nocheck
import { getProp } from '../../config'

const WindowHTMLElement = window?.HTMLElement ?? Object
const WindowHTMLElement =
typeof window !== 'undefined' && window.HTMLElement
? window.HTMLElement
: Object

export default class HTMLElement extends WindowHTMLElement {
static get observedAttributes() {
Expand Down

0 comments on commit 918e6cc

Please sign in to comment.