@kephas/ngx-core
Version:
Provides integration capabilities with Angular 13+.
27 lines (26 loc) • 942 B
TypeScript
import { StaticClassProvider } from '@angular/core';
import { AppServiceInfoRegistry } from '@kephas/core';
/**
* Registry for root services.
*
* @export
* @class RootProvidersRegistry
*/
export declare class RootProvidersRegistry {
#private;
/**
* Gets the providers for the HTTP client.
*
* @returns {((StaticClassProvider | ExistingProvider)[])}
* @memberof HttpClientAppServiceInfoRegistry
*/
static getRootProviders(serviceRegistry: AppServiceInfoRegistry): (StaticClassProvider)[];
/**
* Loads asynchronously the modules to make sure that the
* overridden services area also loaded into the service registry.
* First of all, loads the Kephas modules, afterwards
* loads the application modules invoking the provided delegate.
*/
static loadModules(loadAppModules?: () => Promise<void>): Promise<void>;
private static getDependencies;
}