mirror of
https://github.com/denoland/deno.git
synced 2024-11-21 15:04:11 -05:00
fix(ext/node): use primordials in ext/node/polyfills/wasi.ts (#25608)
Toward #24236
This commit is contained in:
parent
8539cacbbe
commit
d162733db2
1 changed files with 3 additions and 2 deletions
|
@ -1,7 +1,8 @@
|
||||||
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
|
||||||
|
|
||||||
// TODO(petamoriken): enable prefer-primordials for node polyfills
|
import { primordials } from "ext:core/mod.js";
|
||||||
// deno-lint-ignore-file prefer-primordials
|
|
||||||
|
const { Error } = primordials;
|
||||||
|
|
||||||
class Context {
|
class Context {
|
||||||
constructor() {
|
constructor() {
|
||||||
|
|
Loading…
Reference in a new issue