mirror of
https://github.com/denoland/deno.git
synced 2024-11-24 15:19:26 -05:00
15 lines
377 B
TypeScript
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,
|
|
};
|