We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cdfc414 commit 9236609Copy full SHA for 9236609
server/response.ts
@@ -5,7 +5,7 @@ import { internalMethods } from "./ws_internal_methods.ts";
5
import type { JsonValue } from "../json_rpc_types.ts";
6
7
export type Methods = {
8
- [method: string]: (...arg: any) => JsonValue | Promise<JsonValue>;
+ [method: string]: (...arg: any[]) => JsonValue | Promise<JsonValue>;
9
};
10
export type Options = {
11
// Add headers to the default header '{"content-type" : "application/json"}':
0 commit comments