diff options
author | Bartek Iwańczuk <biwanczuk@gmail.com> | 2024-04-11 21:31:11 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-04-11 20:31:11 +0000 |
commit | 5758470ee47063d4a0b65fcba1441dfb8a8ace54 (patch) | |
tree | 1c2a31cd6e79f4a5778ac253dd160cd62ac583f2 /cli/tsc/dts/lib.deno.ns.d.ts | |
parent | 4ab0215727be2f2c97e1c7d05b86aa1b93007e3b (diff) |
Revert "refactor(ext/net): extract TLS key and certificate from inter… (#23325)
…faces (#23296)"
This reverts commit e190acbfa8b41f92291e73c405735ba0d7b5b172.
Reverting because it broke stable API type declarations. We will reland
it for v1.43 with updated interfaces
Diffstat (limited to 'cli/tsc/dts/lib.deno.ns.d.ts')
-rw-r--r-- | cli/tsc/dts/lib.deno.ns.d.ts | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/cli/tsc/dts/lib.deno.ns.d.ts b/cli/tsc/dts/lib.deno.ns.d.ts index 4ec687359..1d6b398f5 100644 --- a/cli/tsc/dts/lib.deno.ns.d.ts +++ b/cli/tsc/dts/lib.deno.ns.d.ts @@ -6276,7 +6276,13 @@ declare namespace Deno { * * @category HTTP Server */ - export type ServeTlsOptions = ServeOptions & TlsCertifiedKeyOptions; + export interface ServeTlsOptions extends ServeOptions { + /** Server private key in PEM format */ + cert: string; + + /** Cert chain in PEM format */ + key: string; + } /** * @category HTTP Server |