docs: update router to use @publicApi tags (#26595)

PR Close #26595
This commit is contained in:
Pete Bacon Darwin
2018-10-19 18:25:11 +01:00
committed by Alex Rickabaugh
parent c1724062f1
commit 13143b850e
20 changed files with 67 additions and 65 deletions

View File

@ -45,7 +45,7 @@ const ROUTER_DIRECTIVES =
*
* Is used in DI to configure the router.
*
*
* @publicApi
*/
export const ROUTER_CONFIGURATION = new InjectionToken<ExtraOptions>('ROUTER_CONFIGURATION');
@ -128,7 +128,7 @@ export function routerNgProbeToken() {
* [Read this developer guide](https://angular.io/docs/ts/latest/guide/router.html) to get an
* overview of how the router should be used.
*
*
* @publicApi
*/
@NgModule({
declarations: ROUTER_DIRECTIVES,
@ -236,7 +236,7 @@ export function provideForRootGuard(router: Router): any {
* class MyNgModule {}
* ```
*
*
* @publicApi
*/
export function provideRoutes(routes: Routes): any {
return [
@ -278,7 +278,7 @@ export type InitialNavigation =
*
* Represents options to configure the router.
*
*
* @publicApi
*/
export interface ExtraOptions {
/**