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.
|
||||
|
||||
// TODO(petamoriken): enable prefer-primordials for node polyfills
|
||||
// deno-lint-ignore-file prefer-primordials
|
||||
import { primordials } from "ext:core/mod.js";
|
||||
|
||||
const { Error } = primordials;
|
||||
|
||||
class Context {
|
||||
constructor() {
|
||||
|
|
Loading…
Reference in a new issue