Skip to content

Commit

Permalink
Restore typescript to 4.9.5, fix incompatible type errors
Browse files Browse the repository at this point in the history
  • Loading branch information
danielrozenberg committed Apr 27, 2023
1 parent d543064 commit 608a250
Show file tree
Hide file tree
Showing 3 changed files with 151 additions and 34 deletions.
179 changes: 148 additions & 31 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@
"tempy": "1.0.1",
"terser": "5.17.1",
"traverse": "0.6.7",
"typescript": "4.7.4",
"typescript": "4.9.5",
"util": "0.12.5",
"vinyl-fs": "3.0.3"
}
Expand Down
4 changes: 2 additions & 2 deletions src/core/dom/globals.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ declare global {
}

interface ShadowRoot {
adoptedStyleSheets?: CSSStyleSheet[];
adoptedStyleSheets: CSSStyleSheet[];
}

interface CSSStyleSheet {
replaceSync?: (text: string) => void;
replaceSync: (text: string) => void;
}

interface Event {
Expand Down

0 comments on commit 608a250

Please sign in to comment.