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

@ -251,6 +251,8 @@ try {
/**
* @deprecated Use `setAngularJSGlobal` instead.
*
* @publicApi
*/
export function setAngularLib(ng: any): void {
setAngularJSGlobal(ng);
@ -258,6 +260,8 @@ export function setAngularLib(ng: any): void {
/**
* @deprecated Use `getAngularJSGlobal` instead.
*
* @publicApi
*/
export function getAngularLib(): any {
return getAngularJSGlobal();
@ -267,6 +271,8 @@ export function getAngularLib(): any {
* Resets the AngularJS global.
*
* Used when AngularJS is loaded lazily, and not available on `window`.
*
* @publicApi
*/
export function setAngularJSGlobal(ng: any): void {
angular = ng;
@ -275,6 +281,8 @@ export function setAngularJSGlobal(ng: any): void {
/**
* Returns the current AngularJS global.
*
* @publicApi
*/
export function getAngularJSGlobal(): any {
return angular;

View File

@ -14,4 +14,7 @@
import {Version} from '@angular/core';
/**
* @publicApi
*/
export const VERSION = new Version('0.0.0-PLACEHOLDER');