Skip to content

Commit 993cb6d

Browse files
committed
fix(loader): allow mixing strings and TranslationResources in the same array
1 parent 0a3a241 commit 993cb6d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

projects/multi-http-loader/src/lib/multi-http-loader.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ export interface TranslationResource {
1212
export class MultiTranslateHttpLoader implements TranslateLoader {
1313
constructor(
1414
private _handler: HttpBackend,
15-
private _resourcesPrefix: string[] | TranslationResource[],
15+
private _resourcesPrefix: (string | TranslationResource)[],
1616
) {}
1717

1818
public getTranslation(lang: string): Observable<any> {

0 commit comments

Comments
 (0)