(config: Pick<ExtraOptions, 'initialNavigation'>)
| 233 | // Note: For internal use only with `RouterModule`. Standalone router setup with `provideRouter` |
| 234 | // users call `withXInitialNavigation` directly. |
| 235 | function provideInitialNavigation(config: Pick<ExtraOptions, 'initialNavigation'>): Provider[] { |
| 236 | return [ |
| 237 | config.initialNavigation === 'disabled' ? withDisabledInitialNavigation().ɵproviders : [], |
| 238 | config.initialNavigation === 'enabledBlocking' |
| 239 | ? withEnabledBlockingInitialNavigation().ɵproviders |
| 240 | : [], |
| 241 | ]; |
| 242 | } |
| 243 | |
| 244 | // TODO(atscott): This should not be in the public API |
| 245 | /** |
no test coverage detected
searching dependent graphs…