Skip to content

Deno: Use globalThis instead of window #2186

@rracariu

Description

@rracariu

Currently using Yarg in a Deno Worker would not run because there is no window global in Workers.

To make this work on all cases using globalThis would be better, see:

nextTick: window.queueMicrotask,

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions