mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-10-08 14:51:32 +00:00
Fix TS compilation for ng2-alfresco-core
This commit is contained in:
@@ -21,7 +21,7 @@ import {TranslateLoader} from 'ng2-translate/ng2-translate';
|
||||
import {Observable} from 'rxjs/Observable'
|
||||
|
||||
@Injectable()
|
||||
export class AlfrescoTranslationLoader {
|
||||
export class AlfrescoTranslationLoader implements TranslateLoader {
|
||||
|
||||
private prefix: string = 'i18n';
|
||||
private suffix: string = '.json';
|
||||
@@ -35,4 +35,4 @@ export class AlfrescoTranslationLoader {
|
||||
.concat(this.http.get('node_modules/ng2-alfresco-upload/' + `${this.prefix}/${lang}${this.suffix}`)
|
||||
.map((res: Response) => res.json()));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user