mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
Update package json typescript version (#2368)
* update package json typescript version * fix test problem * fix minor upload type bug
This commit is contained in:
@@ -117,7 +117,7 @@
|
||||
"ts-node": "1.7.0",
|
||||
"tslint": "5.5.0",
|
||||
"tslint-loader": "3.5.3",
|
||||
"typescript": "2.3.4",
|
||||
"typescript": "2.5.2",
|
||||
"webpack": "2.2.1",
|
||||
"webpack-dev-server": "2.3.0",
|
||||
"webpack-merge": "2.6.1",
|
||||
|
@@ -94,7 +94,7 @@ export class SearchControlComponent implements OnInit, OnDestroy {
|
||||
|
||||
private focusSubject = new Subject<FocusEvent>();
|
||||
|
||||
private toggleSearch = new Subject<string>();
|
||||
private toggleSearch = new Subject<any>();
|
||||
|
||||
subscriptAnimationState: string;
|
||||
|
||||
@@ -104,7 +104,7 @@ export class SearchControlComponent implements OnInit, OnDestroy {
|
||||
Validators.compose([Validators.required, SearchTermValidator.minAlphanumericChars(3)])
|
||||
);
|
||||
|
||||
this.toggleSearch.debounceTime(200).subscribe(() => {
|
||||
this.toggleSearch.asObservable().debounceTime(200).subscribe(() => {
|
||||
if (this.expandable) {
|
||||
this.subscriptAnimationState = this.subscriptAnimationState === 'inactive' ? 'active' : 'inactive';
|
||||
|
||||
|
Reference in New Issue
Block a user