diff options
Diffstat (limited to 'ext/node/polyfills/wasi.ts')
-rw-r--r-- | ext/node/polyfills/wasi.ts | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ext/node/polyfills/wasi.ts b/ext/node/polyfills/wasi.ts new file mode 100644 index 000000000..a68063ba9 --- /dev/null +++ b/ext/node/polyfills/wasi.ts @@ -0,0 +1,11 @@ +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. + +class Context { + constructor() { + throw new Error("Context is currently not supported"); + } +} + +export const WASI = Context; + +export default { WASI }; |