Skip to content

Commit

Permalink
fix: use global namespace alias
Browse files Browse the repository at this point in the history
  • Loading branch information
edoardocavazza committed Oct 1, 2021
1 parent 8d385c1 commit 702eaba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/window.ts
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ if (typeof window !== 'undefined') {
createComment: throwPlatform,
addEventListener() { },
},
} as unknown as Window & typeof globalThis;
} as unknown as GlobalNamespace;
}

export { namespace as window };

0 comments on commit 702eaba

Please sign in to comment.