1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-11 10:07:54 -05:00
denoland-deno/cli/tests/testdata/npm/registry/@denotest/cjs-local-global-decls/1.0.0/other.js
David Sherret 77fb26e143
fix(npm): add console global for node environment (#16519)
This global is already isolated to node during type checking.

Closes #16518
2022-11-02 19:08:09 -04:00

2 lines
96 B
JavaScript

const console = new global.console.Console({ stdout: process.stdout });
console.log("Loaded.");