82 lines
2.3 KiB
Markdown
82 lines
2.3 KiB
Markdown
|
## API Report File for "@angular/upgrade_static"
|
||
|
|
||
|
> Do not edit this file. It is a report generated by [API Extractor](https://api-extractor.com/).
|
||
|
|
||
|
```ts
|
||
|
|
||
|
import { DoCheck } from '@angular/core';
|
||
|
import { ElementRef } from '@angular/core';
|
||
|
import { Injector } from '@angular/core';
|
||
|
import { NgModuleFactory } from '@angular/core';
|
||
|
import { NgModuleRef } from '@angular/core';
|
||
|
import { NgZone } from '@angular/core';
|
||
|
import { OnChanges } from '@angular/core';
|
||
|
import { OnDestroy } from '@angular/core';
|
||
|
import { OnInit } from '@angular/core';
|
||
|
import { PlatformRef } from '@angular/core';
|
||
|
import { SimpleChanges } from '@angular/core';
|
||
|
import { StaticProvider } from '@angular/core';
|
||
|
import { Type } from '@angular/core';
|
||
|
import { Version } from '@angular/core';
|
||
|
|
||
|
// @public
|
||
|
export function downgradeComponent(info: {
|
||
|
component: Type<any>;
|
||
|
downgradedModule?: string;
|
||
|
propagateDigest?: boolean;
|
||
|
inputs?: string[];
|
||
|
outputs?: string[];
|
||
|
selectors?: string[];
|
||
|
}): any;
|
||
|
|
||
|
// @public
|
||
|
export function downgradeInjectable(token: any, downgradedModule?: string): Function;
|
||
|
|
||
|
// @public
|
||
|
export function downgradeModule<T>(moduleFactoryOrBootstrapFn: NgModuleFactory<T> | ((extraProviders: StaticProvider[]) => Promise<NgModuleRef<T>>)): string;
|
||
|
|
||
|
// @public
|
||
|
export function getAngularJSGlobal(): any;
|
||
|
|
||
|
// @public @deprecated (undocumented)
|
||
|
export function getAngularLib(): any;
|
||
|
|
||
|
// @public
|
||
|
export function setAngularJSGlobal(ng: any): void;
|
||
|
|
||
|
// @public @deprecated (undocumented)
|
||
|
export function setAngularLib(ng: any): void;
|
||
|
|
||
|
// @public
|
||
|
export class UpgradeComponent implements OnInit, OnChanges, DoCheck, OnDestroy {
|
||
|
constructor(name: string, elementRef: ElementRef, injector: Injector);
|
||
|
// (undocumented)
|
||
|
ngDoCheck(): void;
|
||
|
// (undocumented)
|
||
|
ngOnChanges(changes: SimpleChanges): void;
|
||
|
// (undocumented)
|
||
|
ngOnDestroy(): void;
|
||
|
// (undocumented)
|
||
|
ngOnInit(): void;
|
||
|
}
|
||
|
|
||
|
// @public
|
||
|
export class UpgradeModule {
|
||
|
$injector: any;
|
||
|
constructor(
|
||
|
injector: Injector,
|
||
|
ngZone: NgZone,
|
||
|
platformRef: PlatformRef);
|
||
|
bootstrap(element: Element, modules?: string[], config?: any): void;
|
||
|
injector: Injector;
|
||
|
ngZone: NgZone;
|
||
|
}
|
||
|
|
||
|
// @public (undocumented)
|
||
|
export const VERSION: Version;
|
||
|
|
||
|
|
||
|
// (No @packageDocumentation comment for this package)
|
||
|
|
||
|
```
|