@singleton-i18n/angular-client
Version:
Singleton client code for Angular 10.
17 lines (16 loc) • 618 B
TypeScript
import { ModuleWithProviders, Provider } from '@angular/core';
export interface ModuleConfig {
coreLoader?: Provider;
i18nContext?: Provider;
}
export declare function provideRoot(config?: ModuleConfig): any[];
export declare function provideChild(config?: ModuleConfig): any[];
export declare class VIPModule {
/**
* Use this method in your root module to provide the VIP Service
* @returns Module instance
* @memberof VipModule
*/
static forRoot(config?: ModuleConfig): ModuleWithProviders<VIPModule>;
static forChild(config?: ModuleConfig): ModuleWithProviders<VIPModule>;
}