mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-10-08 14:51:32 +00:00
[AAE-7100] ESLint support for ADF Core and DemoShell projects (#7481)
* remove tsconfig.base as per eslint schematics * add schematics * upgrade demoshell to eslint * fix eslint issues for demoshell * integrate eslint for ADF core and fix some issues * turn into warn * fix code * workaround for Chrome clipboard issue * exclude e2e tests * exclude e2e
This commit is contained in:
@@ -122,7 +122,7 @@ export class TranslationService {
|
||||
* @param interpolateParams String(s) to be interpolated into the main message
|
||||
* @returns Translated text
|
||||
*/
|
||||
get(key: string | Array<string>, interpolateParams?: Object): Observable<string | any> {
|
||||
get(key: string | Array<string>, interpolateParams?: any): Observable<string | any> {
|
||||
return this.translate.get(key, interpolateParams);
|
||||
}
|
||||
|
||||
@@ -132,7 +132,7 @@ export class TranslationService {
|
||||
* @param interpolateParams String(s) to be interpolated into the main message
|
||||
* @returns Translated text
|
||||
*/
|
||||
instant(key: string | Array<string>, interpolateParams?: Object): string | any {
|
||||
instant(key: string | Array<string>, interpolateParams?: any): string | any {
|
||||
return key ? this.translate.instant(key, interpolateParams) : '';
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user