File tree Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Expand file tree Collapse file tree 2 files changed +10
-2
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " localize-router-http-loader" ,
3- "version" : " 0.0.1 " ,
3+ "version" : " 0.0.2 " ,
44 "description" : " A loader for localize-router that loads config using Http" ,
55 "scripts" : {
66 "clean" : " rimraf bundles coverage src/**/*.d.ts src/**/*.metadata.json src/**/*.js tests/**/*.d.ts tests/**/*.metadata.json tests/**/*.js index.d.ts index.metadata.json index.js" ,
Original file line number Diff line number Diff line change 1- import { LocalizeParser , LocalizeRouterSettings , ILocalizeRouterParserConfig } from 'localize-router' ;
1+ import { LocalizeParser , LocalizeRouterSettings } from 'localize-router' ;
22import { TranslateService } from '@ngx-translate/core' ;
33import { Http , Response } from '@angular/http' ;
44import { Routes } from '@angular/router' ;
55import { Location } from '@angular/common' ;
66
7+ /**
8+ * Config interface
9+ */
10+ export interface ILocalizeRouterParserConfig {
11+ locales : Array < string > ;
12+ prefix ?: string ;
13+ }
14+
715export class LocalizeRouterHttpLoader extends LocalizeParser {
816 /**
917 * CTOR
You can’t perform that action at this time.
0 commit comments