(options: RouterConfigOptions)
| 629 | * @publicApi |
| 630 | */ |
| 631 | export function withRouterConfig(options: RouterConfigOptions): RouterConfigurationFeature { |
| 632 | const providers = [{provide: ROUTER_CONFIGURATION, useValue: options}]; |
| 633 | return routerFeature(RouterFeatureKind.RouterConfigurationFeature, providers); |
| 634 | } |
| 635 | |
| 636 | /** |
| 637 | * A type alias for providers returned by `withHashLocation` for use with `provideRouter`. |
searching dependent graphs…