Is there a way to make url generation for path parameters such as /blog/:postId accept only numbers (provided that postId should be a number) via typescript? Writing this kind of logic manually is super repetitive and I believe it should be possible to simplify it with code generation.
Is there a way to make url generation for path parameters such as
/blog/:postIdaccept only numbers (provided thatpostIdshould be a number) via typescript? Writing this kind of logic manually is super repetitive and I believe it should be possible to simplify it with code generation.