mirror of
https://github.com/denoland/deno.git
synced 2024-12-23 15:49:44 -05:00
16 lines
377 B
TypeScript
16 lines
377 B
TypeScript
|
// Copyright 2018-2023 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,
|
||
|
};
|