mirror of
https://github.com/denoland/deno.git
synced 2024-10-31 09:14:20 -04: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,
|
||
|
};
|