diff --git a/projects/capx/src/app/capx/components/junctions/intersections/conventional-junction/design/conventional-design.component.scss b/projects/capx/src/app/capx/components/junctions/intersections/conventional-junction/design/conventional-design.component.scss index 2a848b3..e2ae5f8 100644 --- a/projects/capx/src/app/capx/components/junctions/intersections/conventional-junction/design/conventional-design.component.scss +++ b/projects/capx/src/app/capx/components/junctions/intersections/conventional-junction/design/conventional-design.component.scss @@ -1,4 +1,5 @@ :host { display: block; width: 40%; + margin: auto; } diff --git a/projects/capx/src/app/capx/components/junctions/junction.component.ts b/projects/capx/src/app/capx/components/junctions/junction.component.ts index 21cbbe6..2e21563 100644 --- a/projects/capx/src/app/capx/components/junctions/junction.component.ts +++ b/projects/capx/src/app/capx/components/junctions/junction.component.ts @@ -84,13 +84,11 @@ export class JunctionComponent implements OnInit, OnDestroy { subscriptions = []; - // tslint:disable-next-line: no-any - design$: BehaviorSubject = new BehaviorSubject(null); - // tslint:disable-next-line: no-any - configuration$: BehaviorSubject = new BehaviorSubject(null); + design$: BehaviorSubject> = new BehaviorSubject(null); + configuration$: BehaviorSubject> = new BehaviorSubject(null); title$: BehaviorSubject = new BehaviorSubject(''); - vc$: BehaviorSubject = new BehaviorSubject(null); - clv$: BehaviorSubject = new BehaviorSubject(null); + vc$: BehaviorSubject = new BehaviorSubject(null); + clv$: BehaviorSubject = new BehaviorSubject(null); ngOnInit(): void { const junctionName = this.route.snapshot.paramMap.get('id'); if (junctionName !== null && this.capxStateService.state.has(junctionName)) { diff --git a/tslint.json b/tslint.json index 09fdf01..733008b 100644 --- a/tslint.json +++ b/tslint.json @@ -43,7 +43,6 @@ ] } ], - "no-any": true, "no-console": [ true, "debug",