## API Report File for "@angular/upgrade" > Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/). ```ts import { CompilerOptions } from '@angular/core'; import { Injector } from '@angular/core'; import { NgModuleRef } from '@angular/core'; import { Type } from '@angular/core'; import { Version } from '@angular/core'; // @public @deprecated export class UpgradeAdapter { constructor(ng2AppModule: Type, compilerOptions?: CompilerOptions | undefined); bootstrap(element: Element, modules?: any[], config?: IAngularBootstrapConfig): UpgradeAdapterRef; downgradeNg2Component(component: Type): Function; downgradeNg2Provider(token: any): Function; registerForNg1Tests(modules?: string[]): UpgradeAdapterRef; upgradeNg1Component(name: string): Type; upgradeNg1Provider(name: string, options?: { asToken: any; }): void; } // @public @deprecated export class UpgradeAdapterRef { dispose(): void; // (undocumented) ng1Injector: IInjectorService; // (undocumented) ng1RootScope: IRootScopeService; // (undocumented) ng2Injector: Injector; // (undocumented) ng2ModuleRef: NgModuleRef; ready(fn: (upgradeAdapterRef: UpgradeAdapterRef) => void): void; } // @public (undocumented) export const VERSION: Version; // (No @packageDocumentation comment for this package) ```