Skip to content

Commit fb59fab

Browse files
committed
fix: correct the type casting.
1 parent 0c517e2 commit fb59fab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/view/view.ssr.controller.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ export class ViewSSRController {
8787
// Poly-fill some window functions here.
8888
// eslint-disable-next-line @typescript-eslint/no-empty-function
8989
dom.window.scrollTo = () => {};
90-
dom.window.fetch = fetch as typeof dom.window.fetch;
90+
dom.window.fetch = fetch as unknown as typeof dom.window.fetch;
9191

9292
const timeout = setTimeout(() => {
9393
this.logger.warn(

0 commit comments

Comments
 (0)