mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
refactor(platform-server): remove deprecated renderModuleFactory (#49247)
The deprecated `renderModuleFactory` has been removed as it is no longer necessary with Ivy. BREAKING CHANGE: `renderModuleFactory` has been removed. Use `renderModule` instead. PR Close #49247
This commit is contained in:
committed by
Andrew Kushnir
parent
4e9531f777
commit
17abe6dc96
@@ -10,7 +10,6 @@ import * as i1 from '@angular/common/http';
|
||||
import * as i2 from '@angular/platform-browser/animations';
|
||||
import * as i3 from '@angular/platform-browser';
|
||||
import { InjectionToken } from '@angular/core';
|
||||
import { NgModuleFactory } from '@angular/core';
|
||||
import { PlatformRef } from '@angular/core';
|
||||
import { Provider } from '@angular/core';
|
||||
import { StaticProvider } from '@angular/core';
|
||||
@@ -64,13 +63,6 @@ export function renderModule<T>(moduleType: Type<T>, options: {
|
||||
extraProviders?: StaticProvider[];
|
||||
}): Promise<string>;
|
||||
|
||||
// @public @deprecated
|
||||
export function renderModuleFactory<T>(moduleFactory: NgModuleFactory<T>, options: {
|
||||
document?: string;
|
||||
url?: string;
|
||||
extraProviders?: StaticProvider[];
|
||||
}): Promise<string>;
|
||||
|
||||
// @public
|
||||
export class ServerModule {
|
||||
// (undocumented)
|
||||
|
||||
Reference in New Issue
Block a user