Skip to content

Commit

Permalink
force global to any for ease/laziness
Browse files Browse the repository at this point in the history
  • Loading branch information
harryhjsh committed Jan 7, 2025
1 parent bdf7b91 commit 39c9ab8
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/lib/global.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@
* rest of the functionality needed.
*/

/** @type {any} */
const _global = typeof global !== 'undefined' ? global :
typeof self !== 'undefined' ? self :
typeof window !== 'undefined' ? window : {};
Expand Down

0 comments on commit 39c9ab8

Please sign in to comment.