@esmx/router 3.0.0-rc.53 → 3.0.0-rc.54
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/route.d.ts +2 -2
- package/package.json +2 -2
- package/src/route.ts +2 -2
package/dist/route.d.ts
CHANGED
|
@@ -36,8 +36,8 @@ export declare class Route {
|
|
|
36
36
|
readonly path: string;
|
|
37
37
|
readonly fullPath: string;
|
|
38
38
|
readonly hash: string;
|
|
39
|
-
readonly params: Record<string, string
|
|
40
|
-
readonly paramsArray: Record<string, string[]
|
|
39
|
+
readonly params: Record<string, string>;
|
|
40
|
+
readonly paramsArray: Record<string, string[]>;
|
|
41
41
|
readonly query: Record<string, string | undefined>;
|
|
42
42
|
readonly queryArray: Record<string, string[] | undefined>;
|
|
43
43
|
readonly meta: RouteMeta;
|
package/package.json
CHANGED
|
@@ -39,7 +39,7 @@
|
|
|
39
39
|
"unbuild": "3.5.0",
|
|
40
40
|
"vitest": "3.2.4"
|
|
41
41
|
},
|
|
42
|
-
"version": "3.0.0-rc.
|
|
42
|
+
"version": "3.0.0-rc.54",
|
|
43
43
|
"type": "module",
|
|
44
44
|
"private": false,
|
|
45
45
|
"exports": {
|
|
@@ -58,5 +58,5 @@
|
|
|
58
58
|
"template",
|
|
59
59
|
"public"
|
|
60
60
|
],
|
|
61
|
-
"gitHead": "
|
|
61
|
+
"gitHead": "85a92c42adcbbcbf0c0b75024e32ba8fcb1e17ca"
|
|
62
62
|
}
|
package/src/route.ts
CHANGED
|
@@ -120,8 +120,8 @@ export class Route {
|
|
|
120
120
|
public readonly path: string;
|
|
121
121
|
public readonly fullPath: string;
|
|
122
122
|
public readonly hash: string;
|
|
123
|
-
public readonly params: Record<string, string
|
|
124
|
-
public readonly paramsArray: Record<string, string[]
|
|
123
|
+
public readonly params: Record<string, string> = {};
|
|
124
|
+
public readonly paramsArray: Record<string, string[]> = {};
|
|
125
125
|
public readonly query: Record<string, string | undefined> = {};
|
|
126
126
|
public readonly queryArray: Record<string, string[] | undefined> = {};
|
|
127
127
|
public readonly meta: RouteMeta;
|