File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
packages/event-handler/src Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -46,8 +46,8 @@ export function validatePathPattern(path: Path): ValidationResult {
46
46
47
47
export function processParams (
48
48
params : Record < string , string >
49
- ) : Record < string , any > {
50
- const processed : Record < string , any > = { } ;
49
+ ) : Record < string , string > {
50
+ const processed : Record < string , string > = { } ;
51
51
52
52
for ( const [ key , value ] of Object . entries ( params ) ) {
53
53
processed [ key ] = decodeURIComponent ( value ) ;
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ type Path = `/${string}`;
33
33
34
34
type RouteHandlerOptions = {
35
35
handler : RouteHandler ;
36
- params : Record < string , any > ;
36
+ params : Record < string , string > ;
37
37
rawParams : Record < string , string > ;
38
38
} ;
39
39
You can’t perform that action at this time.
0 commit comments