fix(upgrade): remove unused version export (#33180)
In some module systems (Closure), it's illegal to mutate an export. This mutated export isn't used anyway, so we can just remove it. PR Close #33180
This commit is contained in:

committed by
Matias Niemelä

parent
86104b82b8
commit
becd62d4a1
@ -280,7 +280,6 @@ export function getAngularLib(): any {
|
||||
*/
|
||||
export function setAngularJSGlobal(ng: any): void {
|
||||
angular = ng;
|
||||
version = ng && ng.version;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -309,5 +308,3 @@ export const injector: typeof angular.injector =
|
||||
export const resumeBootstrap: typeof angular.resumeBootstrap = () => angular.resumeBootstrap();
|
||||
|
||||
export const getTestability: typeof angular.getTestability = e => angular.getTestability(e);
|
||||
|
||||
export let version = angular.version;
|
||||
|
Reference in New Issue
Block a user