Skip to content

Commit 806a4a7

Browse files
committed
chore: fix type
1 parent 02d9dfa commit 806a4a7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/inject-style/browser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ export interface StyleElementContent {
2121
element?: HTMLStyleElement
2222
}
2323

24-
const HEAD?: HTMLElement = undefined
24+
let HEAD: HTMLElement | undefined
2525
const styles: { [key: string]: StyleElementContent } = {}
2626
function addStyle(id: string, css: StyleSource) {
2727
const group = isOldIE ? css.media || 'default' : id

0 commit comments

Comments
 (0)