@tinyhttp/app 2.0.9 → 2.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/request.d.ts CHANGED
@@ -18,7 +18,7 @@ export declare type Connection = IncomingMessage['socket'] & {
18
18
  };
19
19
  export declare type Protocol = 'http' | 'https' | string;
20
20
  export type { URLParams };
21
- declare type AcceptsReturns = string | false | string[];
21
+ declare type AcceptsReturns = string | boolean | string[];
22
22
  export interface Request extends IncomingMessage {
23
23
  originalUrl: string;
24
24
  path: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tinyhttp/app",
3
- "version": "2.0.9",
3
+ "version": "2.0.10",
4
4
  "description": "0-legacy, tiny & fast web framework as a replacement of Express",
5
5
  "type": "module",
6
6
  "homepage": "https://tinyhttp.v1rtl.site",