diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2023-04-26 14:54:03 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-26 14:54:03 +0200 |
commit | 1b450015e7046bff952b2841e73074d432006272 (patch) | |
tree | cc9e5f44ad1c98eae4d3461de478a8b080100060 /cli/tsc | |
parent | 036778c2e8e159ef1e586de4102f823367b7c554 (diff) |
BREAKING(unstable): remove "Deno.serve(handler, options)" overload (#18759)
In preparation to stabilization of the API this overload was decided to
be removed.
Diffstat (limited to 'cli/tsc')
-rw-r--r-- | cli/tsc/dts/lib.deno.unstable.d.ts | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/cli/tsc/dts/lib.deno.unstable.d.ts b/cli/tsc/dts/lib.deno.unstable.d.ts index c11bfb09e..cf6cedf41 100644 --- a/cli/tsc/dts/lib.deno.unstable.d.ts +++ b/cli/tsc/dts/lib.deno.unstable.d.ts @@ -1361,10 +1361,7 @@ declare namespace Deno { * * @category HTTP Server */ - export function serve( - handler: ServeHandler, - options?: ServeOptions | ServeTlsOptions, - ): Promise<void>; + export function serve(handler: ServeHandler): Promise<void>; /** **UNSTABLE**: New API, yet to be vetted. * * Serves HTTP requests with the given handler. |