1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 15:24:46 -05:00
denoland-deno/ext/node/polyfills/_tls_common.ts
2024-01-01 19:58:21 +00:00

15 lines
377 B
TypeScript

// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
// Copyright Joyent and Node contributors. All rights reserved. MIT license.
// deno-lint-ignore-file no-explicit-any
export function createSecureContext(options: any) {
return {
ca: options?.ca,
cert: options?.cert,
key: options?.key,
};
}
export default {
createSecureContext,
};