(options: RouterConfigOptions)
| 635 | * @publicApi |
| 636 | */ |
| 637 | export function withRouterConfig(options: RouterConfigOptions): RouterConfigurationFeature { |
| 638 | const providers = [{provide: ROUTER_CONFIGURATION, useValue: options}]; |
| 639 | return routerFeature(RouterFeatureKind.RouterConfigurationFeature, providers); |
| 640 | } |
| 641 | |
| 642 | /** |
| 643 | * A type alias for providers returned by `withHashLocation` for use with `provideRouter`. |