fix(upgrade): replaces get/setAngularLib with get/setAngularJSGlobal

The current names are confusing because Angular should refer to the latest version of the framework.
This commit is contained in:
vsavkin
2017-05-09 13:55:38 -04:00
committed by Alex Rickabaugh
parent 82bcd83566
commit 057513536b
4 changed files with 30 additions and 9 deletions
+6
View File
@@ -14,9 +14,15 @@ export declare function downgradeInjectable(token: any): Function;
export declare function downgradeModule<T>(moduleFactoryOrBootstrapFn: NgModuleFactory<T> | ((extraProviders: StaticProvider[]) => Promise<NgModuleRef<T>>)): string;
/** @stable */
export declare function getAngularJSGlobal(): any;
/** @deprecated */
export declare function getAngularLib(): any;
/** @stable */
export declare function setAngularJSGlobal(ng: any): void;
/** @deprecated */
export declare function setAngularLib(ng: any): void;
/** @experimental */