Skip to content

Commit 9236609

Browse files
committed
Improve type
1 parent cdfc414 commit 9236609

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/response.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { internalMethods } from "./ws_internal_methods.ts";
55
import type { JsonValue } from "../json_rpc_types.ts";
66

77
export type Methods = {
8-
[method: string]: (...arg: any) => JsonValue | Promise<JsonValue>;
8+
[method: string]: (...arg: any[]) => JsonValue | Promise<JsonValue>;
99
};
1010
export type Options = {
1111
// Add headers to the default header '{"content-type" : "application/json"}':

0 commit comments

Comments
 (0)