diff options
author | 2023-09-20 23:08:11 +0800 | |
---|---|---|
committer | 2023-09-20 08:08:11 -0700 | |
commit | 4439f1615571f3558704a7b48cfa84273be4221d (patch) | |
tree | c24c6cd95e728732de31f1620a3de8c3eb5e94f4 | |
parent | ff7f642099b2ce777347b125e802083d324d3cbd (diff) | |
download | bun-4439f1615571f3558704a7b48cfa84273be4221d.tar.gz bun-4439f1615571f3558704a7b48cfa84273be4221d.tar.zst bun-4439f1615571f3558704a7b48cfa84273be4221d.zip |
fix(doc): correct `server.reload` (#5799)
-rw-r--r-- | packages/bun-types/bun.d.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/bun-types/bun.d.ts b/packages/bun-types/bun.d.ts index f0161ef88..f55ab0f03 100644 --- a/packages/bun-types/bun.d.ts +++ b/packages/bun-types/bun.d.ts @@ -2223,7 +2223,7 @@ declare module "bun" { * }); * * // Update the server to return a different response - * server.update({ + * server.reload({ * fetch(request) { * return new Response("Hello World v2") * } |