Skip to content

Commit

Permalink
refactor completed
Browse files Browse the repository at this point in the history
  • Loading branch information
geoyogesh committed Oct 3, 2020
1 parent f8d9202 commit b27ac35
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
:host {
display: block;
width: 40%;
margin: auto;
}
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,11 @@ export class JunctionComponent implements OnInit, OnDestroy {

subscriptions = [];

// tslint:disable-next-line: no-any
design$: BehaviorSubject<any> = new BehaviorSubject(null);
// tslint:disable-next-line: no-any
configuration$: BehaviorSubject<any> = new BehaviorSubject(null);
design$: BehaviorSubject<ComponentPortal<any>> = new BehaviorSubject(null);
configuration$: BehaviorSubject<ComponentPortal<any>> = new BehaviorSubject(null);
title$: BehaviorSubject<string> = new BehaviorSubject('');
vc$: BehaviorSubject<any> = new BehaviorSubject(null);
clv$: BehaviorSubject<any> = new BehaviorSubject(null);
vc$: BehaviorSubject<number> = new BehaviorSubject(null);
clv$: BehaviorSubject<number> = new BehaviorSubject(null);
ngOnInit(): void {
const junctionName = this.route.snapshot.paramMap.get('id');
if (junctionName !== null && this.capxStateService.state.has(junctionName)) {
Expand Down
1 change: 0 additions & 1 deletion tslint.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,6 @@
]
}
],
"no-any": true,
"no-console": [
true,
"debug",
Expand Down

0 comments on commit b27ac35

Please sign in to comment.