diff options
Diffstat (limited to 'ext/node/polyfills/domain.ts')
-rw-r--r-- | ext/node/polyfills/domain.ts | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/ext/node/polyfills/domain.ts b/ext/node/polyfills/domain.ts new file mode 100644 index 000000000..ea0aed728 --- /dev/null +++ b/ext/node/polyfills/domain.ts @@ -0,0 +1,17 @@ +// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license. +// Copyright Joyent and Node contributors. All rights reserved. MIT license. + +import { notImplemented } from "internal:deno_node/polyfills/_utils.ts"; + +export function create() { + notImplemented("domain.create"); +} +export class Domain { + constructor() { + notImplemented("domain.Domain.prototype.constructor"); + } +} +export default { + create, + Domain, +}; |