Skip to content
This repository was archived by the owner on Jul 10, 2022. It is now read-only.

Commit e19aafe

Browse files
author
Dominik Zogg
committed
fix QueryParams type
1 parent 323bf76 commit e19aafe

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ This are the differences to the PHP version:
1818
Through [NPM](https://www.npmjs.com) as [@chubbyjs/psr-http-message][1].
1919

2020
```sh
21-
npm i @chubbyjs/[email protected].2
21+
npm i @chubbyjs/[email protected].3
2222
```
2323

2424
## Copyright

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@chubbyjs/psr-http-message",
3-
"version": "1.0.2",
3+
"version": "1.0.3",
44
"description": "Common Http-message Interface (PHP FIG PSR-7).",
55
"keywords": [
66
"psr",

src/ServerRequestInterface.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import RequestInterface from './RequestInterface';
22

3-
export type QueryParams = Map<string, string | Array<string> | QueryParams>;
3+
export type QueryParams = Map<string, QueryParams> | Array<QueryParams> | string;
44
export type ParsedBody = Map<string, ParsedBody> | Array<ParsedBody> | string | number | boolean | null;
55

66
interface ServerRequestInterface extends RequestInterface {

0 commit comments

Comments
 (0)