File tree 3 files changed +4
-4
lines changed
projects/multi-http-loader
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) {
75
75
export class AppModule { }
76
76
```
77
77
78
- The ` MultiTranslateHttpLoader ` takes a list of ` string[] ` or ` ITranslationResource []` .
78
+ The ` MultiTranslateHttpLoader ` takes a list of ` string[] ` or ` TranslationResource []` .
79
79
80
80
### String[ ]
81
81
For 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) {
75
75
export class AppModule { }
76
76
```
77
77
78
- The ` MultiTranslateHttpLoader ` takes a list of ` string[] ` or ` ITranslationResource []` .
78
+ The ` MultiTranslateHttpLoader ` takes a list of ` string[] ` or ` TranslationResource []` .
79
79
80
80
### String[ ]
81
81
For 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'
3
3
import { forkJoin , Observable , of } from 'rxjs'
4
4
import { catchError , map } from 'rxjs/operators'
5
5
6
- export interface ITranslationResource {
6
+ export interface TranslationResource {
7
7
prefix : string
8
8
suffix ?: string
9
9
optional ?: boolean
@@ -12,7 +12,7 @@ export interface ITranslationResource {
12
12
export class MultiTranslateHttpLoader implements TranslateLoader {
13
13
constructor (
14
14
private _handler : HttpBackend ,
15
- private _resourcesPrefix : string [ ] | ITranslationResource [ ] ,
15
+ private _resourcesPrefix : string [ ] | TranslationResource [ ] ,
16
16
) { }
17
17
18
18
public getTranslation ( lang : string ) : Observable < any > {
You can’t perform that action at this time.
0 commit comments