Files
Shifted/node_modules/@storybook/global/dist/index.mjs
2026-02-10 01:14:19 +00:00

20 lines
380 B
JavaScript

// src/index.ts
var scope = (() => {
let win;
if (typeof window !== "undefined") {
win = window;
} else if (typeof globalThis !== "undefined") {
win = globalThis;
} else if (typeof global !== "undefined") {
win = global;
} else if (typeof self !== "undefined") {
win = self;
} else {
win = {};
}
return win;
})();
export {
scope as global
};