mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
tslint arrow-parens rule (#4003)
This commit is contained in:
@@ -35,7 +35,7 @@ export class AppConfigServiceMock extends AppConfigService {
|
||||
}
|
||||
|
||||
load(): Promise<any> {
|
||||
return new Promise(resolve => {
|
||||
return new Promise((resolve) => {
|
||||
resolve(this.config);
|
||||
});
|
||||
}
|
||||
|
@@ -36,7 +36,7 @@ export class CookieServiceMock extends CookieService {
|
||||
|
||||
/** @override */
|
||||
clear() {
|
||||
Object.keys(this).forEach(key => {
|
||||
Object.keys(this).forEach((key) => {
|
||||
if (this.hasOwnProperty(key) && typeof(this[key]) !== 'function') {
|
||||
this[key] = undefined;
|
||||
}
|
||||
|
Reference in New Issue
Block a user