linksetAngularLib function deprecated npm Package @angular/upgrade Module import { setAngularLib } from '@angular/upgrade/static'; Source upgrade/src/common/angular1.ts linkDeprecation Notes Use setAngularJSGlobal instead. function setAngularLib(ng: any): void;