Closed CodeAndWeb closed 6 years ago
Well... it is a peer dependency, isn't it?
it is a transitive dependency since we require ngx translate core which requires rxjs, but it's not a direct dependency: https://github.com/ngx-translate/http-loader/blob/master/lib/package.json#L21-L25
Yes.. but TranslateLoader
defines the interface as public getTranslation(lang: string): Observable<any>
. Implementing it with public getTranslation(lang: string):any
violates that interface contract.
It's just that Typescript and tslint do not seem to care about it - at least not in the current version.
Return type should be Observable as defined in TranslateLoader, not any.