From bbcbb02ef64d094f0f13de22ae135eeba1ff4c5d Mon Sep 17 00:00:00 2001 From: "netop://ウィビ" Date: Sun, 3 May 2026 12:42:37 -0700 Subject: 0.6.1 - adds explicit return type to GraphQLWS --- source/ws.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/ws.ts') diff --git a/source/ws.ts b/source/ws.ts index fdd9fb1..cbf70ea 100644 --- a/source/ws.ts +++ b/source/ws.ts @@ -53,7 +53,7 @@ export type WSOptions = { * Deno.serve(GraphQLHTTP({ schema, subscriptions })); * ``` */ -export function GraphQLWS(options: WSOptions) { +export function GraphQLWS(options: WSOptions): (request: Request) => Response { const server = makeServer({ ...options, context: options.context as ServerOptions["context"], -- cgit v1.2.3