mirror of
https://github.com/dillonkearns/elm-pages-v3-beta.git
synced 2024-11-29 08:48:48 +03:00
Fix types for route params to string function.
This commit is contained in:
parent
60eb206470
commit
e38c3bda3e
@ -940,10 +940,10 @@ function paramAsElmString(param) {
|
||||
return "maybeToString";
|
||||
}
|
||||
case "required-splat": {
|
||||
return "listToString";
|
||||
return "nonEmptyToString";
|
||||
}
|
||||
case "optional-splat": {
|
||||
return "nonEmptyToString";
|
||||
return "listToString";
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user