mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Pre-Angular upgrade fixes (#5709)
* code fixes * code fixes * more code fixes * even more fixes * add missing typescript for cli * rollback info drawer test changes * use npx for cli commands * restore attach providers
This commit is contained in:
@@ -15,8 +15,10 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { Injectable } from '@angular/core';
|
||||
import { CookieService } from '../services/cookie.service';
|
||||
|
||||
@Injectable()
|
||||
export class CookieServiceMock extends CookieService {
|
||||
|
||||
/** @override */
|
||||
|
@@ -15,7 +15,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
import { EventEmitter } from '@angular/core';
|
||||
import { EventEmitter, Injectable } from '@angular/core';
|
||||
import { Observable, of } from 'rxjs';
|
||||
import { TranslationService } from '../services/translation.service';
|
||||
|
||||
@@ -24,6 +24,7 @@ export interface LangChangeEvent {
|
||||
translations: any;
|
||||
}
|
||||
|
||||
@Injectable()
|
||||
export class TranslationMock implements TranslationService {
|
||||
|
||||
defaultLang: string = 'en';
|
||||
|
Reference in New Issue
Block a user