ui-router-server / ui-router-server / TrailingSlash
Type Alias: TrailingSlash
ts
type TrailingSlash = "always" | "never" | "as-requested";Defined in: trailing-slash.ts:15
How one kind of state spells the trailing slash of its url: 'always' ends the path with /, 'never' drops it, and 'as-requested' keeps the spelling a request used and formats urls as their pattern spells them.