Skip to content

Commit 5395bf0

Browse files
committed
allow request.query_string to be an object
1 parent 18687b9 commit 5395bf0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/types/src/request.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export interface Request {
1313
url?: string;
1414
method?: string;
1515
data?: any;
16-
query_string?: string;
16+
query_string?: string | { [key: string]: string };
1717
cookies?: { [key: string]: string };
1818
env?: { [key: string]: string };
1919
headers?: { [key: string]: string };

0 commit comments

Comments
 (0)