summaryrefslogtreecommitdiff
path: root/ext/node/polyfills/wasi.ts
blob: 4bdc776a4cafa3f07e33c8cb1c023cd3af09d1f2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.

import { primordials } from "ext:core/mod.js";

const { Error } = primordials;

class Context {
  constructor() {
    throw new Error("Context is currently not supported");
  }
}

export const WASI = Context;

export default { WASI };