UNPKG

@ngx-i18n-router/config-loader

Version:

Loader for ngx-i18n-router that provides route translations using ngx-config

13 lines (12 loc) 539 B
import { Routes } from '@angular/router'; import { ConfigService } from '@ngx-config/core'; import { I18NRouterLoader, I18NRouterSettings } from '@ngx-i18n-router/core'; export declare class I18NRouterConfigLoader implements I18NRouterLoader { private readonly config; private readonly group; private readonly providedSettings; readonly routes: Routes; readonly translations: any; constructor(config: ConfigService, group?: string, providedSettings?: I18NRouterSettings); loadTranslations(): any; }