IndustrialI
Denoβ€’3y agoβ€’
6 replies
Industrial

Deno.serve().shutdown doesn't exist?

const server = Deno.serve({
  hostname,
  port,
})
server.shutdown()


error: TS2339 [ERROR]: Property 'shutdown' does not exist on type 'Server'.
server.shutdown()


Running Deno 1.37.2
Was this page helpful?