Fix types for route params to string function.

This commit is contained in:
Dillon Kearns 2021-06-08 15:20:21 -07:00
parent 60eb206470
commit e38c3bda3e

View File

@ -940,10 +940,10 @@ function paramAsElmString(param) {
return "maybeToString";
}
case "required-splat": {
return "listToString";
return "nonEmptyToString";
}
case "optional-splat": {
return "nonEmptyToString";
return "listToString";
}
}
}