mirror of
https://github.com/angular/angular.git
synced 2026-09-14 13:54:52 +08:00
fix(platform-server): update renderApplication to move appId to options (#45844)
This commit updates the `renderApplication` function to move the `appId` argument to the options object. The goal is to achieve a symmetry with the `bootstrapApplication` call (use to bootstrap apps for the browser environment). PR Close #45844
This commit is contained in:
committed by
Dylan Hunn
parent
752ddbc165
commit
22c71be94c
@@ -48,7 +48,8 @@ export class PlatformState {
|
||||
}
|
||||
|
||||
// @public
|
||||
export function renderApplication<T>(rootComponent: Type<T>, appId: string, options: {
|
||||
export function renderApplication<T>(rootComponent: Type<T>, options: {
|
||||
appId: string;
|
||||
document?: string;
|
||||
url?: string;
|
||||
providers?: Provider[];
|
||||
|
||||
Reference in New Issue
Block a user