1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-11-28 16:20:57 -05:00
denoland-deno/cli/js/core.ts
Kitson Kelly 60b53fd6b6 Use globalThis to reference global scope (#3719)
Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
2020-01-20 09:30:30 -05:00

5 lines
204 B
TypeScript

// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
// This allows us to access core in API even if we
// dispose window.Deno
export const core = globalThis.Deno.core as DenoCore;