docs(platform-server): inline PlatformOptions and add doc strings (#18264)
Fix documentation for the options passed into renderModule and renderModuleFactory. PR Close #18264
This commit is contained in:

committed by
Miško Hevery

parent
3ca2a0aa37
commit
bcf6b90c95
@ -21,10 +21,18 @@ export declare class PlatformState {
|
||||
}
|
||||
|
||||
/** @experimental */
|
||||
export declare function renderModule<T>(module: Type<T>, options: PlatformOptions): Promise<string>;
|
||||
export declare function renderModule<T>(module: Type<T>, options: {
|
||||
document?: string;
|
||||
url?: string;
|
||||
extraProviders?: Provider[];
|
||||
}): Promise<string>;
|
||||
|
||||
/** @experimental */
|
||||
export declare function renderModuleFactory<T>(moduleFactory: NgModuleFactory<T>, options: PlatformOptions): Promise<string>;
|
||||
export declare function renderModuleFactory<T>(moduleFactory: NgModuleFactory<T>, options: {
|
||||
document?: string;
|
||||
url?: string;
|
||||
extraProviders?: Provider[];
|
||||
}): Promise<string>;
|
||||
|
||||
/** @experimental */
|
||||
export declare class ServerModule {
|
||||
|
Reference in New Issue
Block a user