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

@ -15,14 +15,14 @@ import {UrlSegment, UrlSegmentGroup} from './url_tree';
*
* Name of the primary outlet.
*
*
* @publicApi
*/
export const PRIMARY_OUTLET = 'primary';
/**
* A collection of parameters.
*
*
* @publicApi
*/
export type Params = {
[key: string]: any
@ -38,7 +38,7 @@ export type Params = {
* The API is inspired by the URLSearchParams interface.
* see https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams
*
*
* @publicApi
*/
export interface ParamMap {
has(name: string): boolean;
@ -91,7 +91,7 @@ class ParamsAsMap implements ParamMap {
/**
* Convert a `Params` instance to a `ParamMap`.
*
*
* @publicApi
*/
export function convertToParamMap(params: Params): ParamMap {
return new ParamsAsMap(params);