mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[lint-refactor] simplify tslint and unify main tslint extension in sub folders (#4032)
* simplify tslint and unify main tslint extension in sub folders * remove autofix * fix lint extension and process cloud
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
import { Component, OnDestroy, OnInit } from '@angular/core';
|
||||
import { ActivatedRoute } from '@angular/router';
|
||||
import { Subscription } from 'rxjs';
|
||||
import { Params } from '@angular/router/src/shared';
|
||||
|
||||
@Component({
|
||||
selector: 'app-form-viewer',
|
||||
@@ -34,7 +35,7 @@ export class FormViewerComponent implements OnInit, OnDestroy {
|
||||
}
|
||||
|
||||
ngOnInit() {
|
||||
this.sub = this.route.params.subscribe(params => {
|
||||
this.sub = this.route.params.subscribe((params: Params) => {
|
||||
this.taskId = params['id'];
|
||||
});
|
||||
}
|
||||
|
Reference in New Issue
Block a user