File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
projects/multi-http-loader Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ export function HttpLoaderFactory(_httpBackend: HttpBackend) {
7575export class AppModule { }
7676```
7777
78- The ` MultiTranslateHttpLoader ` takes a list of ` string[] ` or ` ITranslationResource []` .
78+ The ` MultiTranslateHttpLoader ` takes a list of ` string[] ` or ` TranslationResource []` .
7979
8080### String[ ]
8181For example ` ['/assets/i18n/core/', '/assets/i18n/vendors/'] ` ,
Original file line number Diff line number Diff line change @@ -75,7 +75,7 @@ export function HttpLoaderFactory(_httpBackend: HttpBackend) {
7575export class AppModule { }
7676```
7777
78- The ` MultiTranslateHttpLoader ` takes a list of ` string[] ` or ` ITranslationResource []` .
78+ The ` MultiTranslateHttpLoader ` takes a list of ` string[] ` or ` TranslationResource []` .
7979
8080### String[ ]
8181For example ` ['/assets/i18n/core/', '/assets/i18n/vendors/'] ` ,
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { TranslateLoader } from '@ngx-translate/core'
33import { forkJoin , Observable , of } from 'rxjs'
44import { catchError , map } from 'rxjs/operators'
55
6- export interface ITranslationResource {
6+ export interface TranslationResource {
77 prefix : string
88 suffix ?: string
99 optional ?: boolean
@@ -12,7 +12,7 @@ export interface ITranslationResource {
1212export class MultiTranslateHttpLoader implements TranslateLoader {
1313 constructor (
1414 private _handler : HttpBackend ,
15- private _resourcesPrefix : string [ ] | ITranslationResource [ ] ,
15+ private _resourcesPrefix : string [ ] | TranslationResource [ ] ,
1616 ) { }
1717
1818 public getTranslation ( lang : string ) : Observable < any > {
You can’t perform that action at this time.
0 commit comments