diff --git a/projects/ngx-translate/http-loader/src/lib/http-loader.ts b/projects/ngx-translate/http-loader/src/lib/http-loader.ts index 0afd4a9..0e7ed28 100644 --- a/projects/ngx-translate/http-loader/src/lib/http-loader.ts +++ b/projects/ngx-translate/http-loader/src/lib/http-loader.ts @@ -3,7 +3,7 @@ import {TranslateLoader} from "@ngx-translate/core"; import {Observable} from 'rxjs'; export class TranslateHttpLoader implements TranslateLoader { - constructor(private http: HttpClient, public prefix: string = "/assets/i18n/", public suffix: string = ".json") {} + constructor(protected http: HttpClient, public prefix: string = "/assets/i18n/", public suffix: string = ".json") {} /** * Gets the translations from the server