Closed armedi closed 1 year ago
If I create a route
const fooRoute = route("/root/:number", { number: intParser }, {}); fooRoute({ number: 0 }).$;
It's expected that the resulting path to be /root/0. But 0 is ignored so it only output /root
/root/0
0
/root
should be working now, thank you for the PR
If I create a route
It's expected that the resulting path to be
/root/0
. But0
is ignored so it only output/root