docs(router): remove unnecessary {@link Injector}
jsdoc tags (#23187)
Inline code blocks are automatically linked, if possible, to their API page. PR Close #23187
This commit is contained in:

committed by
Igor Minar

parent
31b90436b4
commit
9141424ac6
@ -136,15 +136,15 @@ export class RouterModule {
|
||||
* Creates a module with all the router providers and directives. It also optionally sets up an
|
||||
* application listener to perform an initial navigation.
|
||||
*
|
||||
* Options (see {@link ExtraOptions}):
|
||||
* Options (see `ExtraOptions`):
|
||||
* * `enableTracing` makes the router log all its internal events to the console.
|
||||
* * `useHash` enables the location strategy that uses the URL fragment instead of the history
|
||||
* API.
|
||||
* * `initialNavigation` disables the initial navigation.
|
||||
* * `errorHandler` provides a custom error handler.
|
||||
* * `preloadingStrategy` configures a preloading strategy (see {@link PreloadAllModules}).
|
||||
* * `preloadingStrategy` configures a preloading strategy (see `PreloadAllModules`).
|
||||
* * `onSameUrlNavigation` configures how the router handles navigation to the current URL. See
|
||||
* {@link ExtraOptions} for more details.
|
||||
* `ExtraOptions` for more details.
|
||||
*/
|
||||
static forRoot(routes: Routes, config?: ExtraOptions): ModuleWithProviders {
|
||||
return {
|
||||
@ -279,7 +279,7 @@ export interface ExtraOptions {
|
||||
errorHandler?: ErrorHandler;
|
||||
|
||||
/**
|
||||
* Configures a preloading strategy. See {@link PreloadAllModules}.
|
||||
* Configures a preloading strategy. See `PreloadAllModules`.
|
||||
*/
|
||||
preloadingStrategy?: any;
|
||||
|
||||
|
Reference in New Issue
Block a user