
BREAKING CHANGE (deprecations) - Instead of `coreBootstrap`, create an `@AppModule` and use `bootstrapModule`. - Instead of `coreLoadAndBootstarp`, create an `@AppModule` and use `bootstrapModuleFactory`. - Instead of `bootstrapWorkerApp`, create an `@AppModule` that includes the `WorkerAppModule` and use `bootstrapModule` with the `workerAppPlatform()`. - Instead of `bootstrapWorkerUi`, create an @AppModule that includes the `WorkerUiModule` and use `bootstrapModule` with the `workerUiPlatform()` instead. - Instead of `serverBootstrap`, create an @AppModule and use `bootstrapModule` with the `serverDynamicPlatform()` instead. - Instead of `PLATFORM_PIPES` and `PLATFORM_DIRECTIVES`, provide platform directives/pipes via an `@AppModule`. - Instead of `ComponentResolver`: - use `ComponentFactoryResolver` together with `@AppModule.precompile`/`@Component.precompile` or `ANALYZE_FOR_PRECOMPILE` provider for dynamic component creation. - use `AppModuleFactoryLoader` for lazy loading. - Instead of `SystemJsComponentResolver`, create an `@AppModule` and use `SystemJsAppModuleLoader`. - Instead of `SystemJsCmpFactoryResolver`, create an `@AppModule` and use `SystemJsAppModuleFactoryLoader` Closes #9726
24 lines
876 B
TypeScript
24 lines
876 B
TypeScript
/** @experimental */
|
|
export declare function bootstrap<C>(appComponentType: ConcreteType<C>, customProviders?: Array<any>): Promise<ComponentRef<C>>;
|
|
|
|
/** @deprecated */
|
|
export declare function bootstrapWorkerApp(appComponentType: Type, customProviders?: Array<any>): Promise<ComponentRef<any>>;
|
|
|
|
/** @deprecated */
|
|
export declare function bootstrapWorkerUi(workerScriptUri: string, customProviders?: Array<any>): Promise<ApplicationRef>;
|
|
|
|
/** @deprecated */
|
|
export declare const BROWSER_APP_COMPILER_PROVIDERS: Array<any>;
|
|
|
|
/** @experimental */
|
|
export declare const BROWSER_DYNAMIC_COMPILER_FACTORY: CompilerFactory;
|
|
|
|
/** @experimental */
|
|
export declare const BROWSER_DYNAMIC_PLATFORM_PROVIDERS: Array<any>;
|
|
|
|
/** @experimental */
|
|
export declare const browserDynamicPlatform: () => PlatformRef;
|
|
|
|
/** @experimental */
|
|
export declare const CACHED_TEMPLATE_PROVIDER: Array<any>;
|