mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
e3d6e97050
DEPRECATION: In ViewEngine, [JIT compilation](https://angular.io/guide/glossary#jit) required special providers (like `Compiler`, `CompilerFactory`, etc) to be injected in the app and corresponding methods to be invoked. With Ivy, JIT compilation takes place implicitly if the Component, NgModule, etc have not already been [AOT compiled](https://angular.io/guide/glossary#aot). Those special providers were made available in Ivy for backwards-compatibility with ViewEngine to make the transition to Ivy smoother. Since ViewEngine is deprecated and will soon be removed, those symbols are now deprecated as well: - `ModuleWithComponentFactories` - `Compiler` - `CompilerFactory` - `JitCompilerFactory` - `NgModuleFactory` Important note: this deprecation doesn't affect JIT mode in Ivy (JIT remains available with Ivy). PR Close #43710
989 B
989 B
API Report File for "@angular/platform-browser-dynamic"
Do not edit this file. It is a report generated by API Extractor.
import { Compiler } from '@angular/core';
import { CompilerFactory } from '@angular/core';
import { CompilerOptions } from '@angular/core';
import { PlatformRef } from '@angular/core';
import { Provider } from '@angular/core';
import { StaticProvider } from '@angular/core';
import { Version } from '@angular/core';
// @public @deprecated (undocumented)
export class JitCompilerFactory implements CompilerFactory {
// (undocumented)
createCompiler(options?: CompilerOptions[]): Compiler;
}
// @public (undocumented)
export const platformBrowserDynamic: (extraProviders?: StaticProvider[] | undefined) => PlatformRef;
// @public (undocumented)
export const RESOURCE_CACHE_PROVIDER: Provider[];
// @public (undocumented)
export const VERSION: Version;
// (No @packageDocumentation comment for this package)