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 {
4646
4747export function processParams (
4848 params : Record < string , string >
49- ) : Record < string , any > {
50- const processed : Record < string , any > = { } ;
49+ ) : Record < string , string > {
50+ const processed : Record < string , string > = { } ;
5151
5252 for ( const [ key , value ] of Object . entries ( params ) ) {
5353 processed [ key ] = decodeURIComponent ( value ) ;
Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ type Path = `/${string}`;
3333
3434type RouteHandlerOptions = {
3535 handler : RouteHandler ;
36- params : Record < string , any > ;
36+ params : Record < string , string > ;
3737 rawParams : Record < string , string > ;
3838} ;
3939
You can’t perform that action at this time.
0 commit comments