Properties shared between all route definitions (Endpoints and WebSockets). customProps is
optional and untyped. Use CommonRouteDefinitionWithRequiredCustomProps (and its
EndpointDefinitionWithRequiredCustomProps / WebSocketDefinitionWithRequiredCustomProps
descendants) when a wrapper needs to both narrow customProps's type and require its presence.
Properties shared between all route definitions (Endpoints and WebSockets).
customPropsis optional and untyped. Use CommonRouteDefinitionWithRequiredCustomProps (and itsEndpointDefinitionWithRequiredCustomProps/WebSocketDefinitionWithRequiredCustomPropsdescendants) when a wrapper needs to both narrowcustomProps's type and require its presence.