diff --git a/packages/types/src/misc.ts b/packages/types/src/misc.ts index 0ad53d17fe14..916aaceb5a4a 100644 --- a/packages/types/src/misc.ts +++ b/packages/types/src/misc.ts @@ -1,3 +1,5 @@ +import { QueryParams } from './request'; + /** * Data extracted from an incoming request to a node server */ @@ -16,8 +18,8 @@ export interface ExtractedNodeRequestData { /** String representing the cookies sent along with the request */ cookies?: { [key: string]: string }; - /** The request's query string, without the leading '?' */ - query_string?: string; + /** The request's query params */ + query_string?: QueryParams; /** Any data sent in the request's body, as a JSON string */ data?: string;