Make Route.clone properly copy parameter definitions

This commit is contained in:
2022-06-28 20:53:15 -05:00
parent 1be73dd347
commit 705bb20db1
2 changed files with 2 additions and 1 deletions

View File

@@ -339,6 +339,7 @@ export class Route<TReturn extends ResponseObject, THandlerParams extends unknow
this.postflight = other.postflight.clone()
this.aliases = other.aliases.clone()
this.displays = other.displays.clone()
this.parameters = other.parameters.clone()
}
public calls<TKey>(