@server/next 0.28.14 → 0.28.15
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/index.d.ts +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -224,7 +224,7 @@ declare global {
|
|
|
224
224
|
var env: Record<string, any>;
|
|
225
225
|
}
|
|
226
226
|
|
|
227
|
-
type Mids<O, Path extends string> = Middleware<O, PathToParams<Path>>[];
|
|
227
|
+
type Mids<O extends ServerConfig, Path extends string> = Middleware<O, PathToParams<Path>>[];
|
|
228
228
|
type PathOrMiddle<O extends ServerConfig = object> = string | Middleware<O>;
|
|
229
229
|
type FullRoute = [RouterMethod, string, ...Middleware[]][];
|
|
230
230
|
declare class Router<O extends ServerConfig = object> {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@server/next",
|
|
3
|
-
"version": "0.28.
|
|
3
|
+
"version": "0.28.15",
|
|
4
4
|
"description": "A fully-fledged web server with routing, file uploads, sessions, static files, schema validation, websockets, testing, etc.",
|
|
5
5
|
"homepage": "https://server-js.com/",
|
|
6
6
|
"repository": "https://github.com/franciscop/server-next.git",
|