aboutsummaryrefslogtreecommitdiff
path: root/examples/ssl.ts
diff options
context:
space:
mode:
authorGravatar Colin McDonnell <colinmcd94@gmail.com> 2023-03-22 15:01:01 -0700
committerGravatar GitHub <noreply@github.com> 2023-03-22 15:01:01 -0700
commita5f92224b586289fc72f0abdb68b08eef9f017db (patch)
tree6092397858776820b431b0dffa635d8bc3b3185e /examples/ssl.ts
parent2bdaa81b1c2325687c5115b4e97627533cb3646b (diff)
downloadbun-a5f92224b586289fc72f0abdb68b08eef9f017db.tar.gz
bun-a5f92224b586289fc72f0abdb68b08eef9f017db.tar.zst
bun-a5f92224b586289fc72f0abdb68b08eef9f017db.zip
Fix types (#2453)
* WIP * WIP * WIP * WIP * Improve typechecking in type files * Fix typechecking * Update * Update submodule * CI for typechecking * Add ci * Update commands * Format after build * Dont use bunx * Rename job * Use nodemodules prettier * Update workflow * Use symlink * Debug * Debug * Clean up and rename jobs
Diffstat (limited to 'examples/ssl.ts')
-rw-r--r--examples/ssl.ts3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/ssl.ts b/examples/ssl.ts
index df30a0bd6..b886649e8 100644
--- a/examples/ssl.ts
+++ b/examples/ssl.ts
@@ -1,4 +1,5 @@
import { resolve } from "path";
+import type { ServeOptions } from "bun";
const development = process.env.NODE_ENV !== "production";
export default {
@@ -11,4 +12,4 @@ export default {
keyFile: process.env.SSL_KEY_FILE || "./key.pem",
certFile: process.env.SSL_CERTIFICATE_FILE || "./cert.pem",
development,
-} as Bun.Serve;
+} as ServeOptions;