ня, привет
ня, привет
DDeno
Created by ня, привет on 3/31/2023 in #help
global is not defined
Why Deno doesn't have global like node.js? There is globalThis, but some things from npm packages are based exactly on global, which can cause problems (as it happened to me) This happened to me when I tried to use the Array type from mongoose (import { Types } from "mongoose"). This is an extended version of array, which inherits an array from global.Array, which works in deno as an inheritance from undefined
1 replies