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:
Alan Agius
2023-02-28 11:27:50 +00:00
committed by Andrew Kushnir
parent 4e9531f777
commit 17abe6dc96
7 changed files with 12 additions and 63 deletions
@@ -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)