mirror of
https://github.com/denoland/deno.git
synced 2024-12-20 14:24:48 -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,
|
|
};
|