Fix documentation for the options passed into renderModule and renderModuleFactory. PR Close #18264
		
			
				
	
	
		
			43 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
			
		
		
	
	
			43 lines
		
	
	
		
			1.1 KiB
		
	
	
	
		
			TypeScript
		
	
	
	
	
	
| /** @experimental */
 | |
| export declare const INITIAL_CONFIG: InjectionToken<PlatformConfig>;
 | |
| 
 | |
| /** @experimental */
 | |
| export interface PlatformConfig {
 | |
|     document?: string;
 | |
|     url?: string;
 | |
| }
 | |
| 
 | |
| /** @experimental */
 | |
| export declare const platformDynamicServer: (extraProviders?: Provider[] | undefined) => PlatformRef;
 | |
| 
 | |
| /** @experimental */
 | |
| export declare const platformServer: (extraProviders?: Provider[] | undefined) => PlatformRef;
 | |
| 
 | |
| /** @experimental */
 | |
| export declare class PlatformState {
 | |
|     constructor(_doc: any);
 | |
|     getDocument(): any;
 | |
|     renderToString(): string;
 | |
| }
 | |
| 
 | |
| /** @experimental */
 | |
| 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: {
 | |
|     document?: string;
 | |
|     url?: string;
 | |
|     extraProviders?: Provider[];
 | |
| }): Promise<string>;
 | |
| 
 | |
| /** @experimental */
 | |
| export declare class ServerModule {
 | |
| }
 | |
| 
 | |
| /** @stable */
 | |
| export declare const VERSION: Version;
 |