-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Possible to define globals? #2222
Comments
Either reference declare global {
something: string;
} |
Ah |
@mrkurt do you have a patch for exposing Request/Response? I spent a moment trying to to expose these but got hung up... |
@ry I don't! I also looked for a bit, and realized there's more missing than I thought. I'm working on running the ones we use for fly.io to see how they are, it's possible they'd be good options to include in deno — although your https://github.com/superfly/fly/blob/master/packages/v8env/src/body_mixin.ts |
I'm using some external libraries that expect certain globals (related to #2108). Can I define new globals in my
main
somehow?The text was updated successfully, but these errors were encountered: