eslint and fix code;
This commit is contained in:
@@ -3,11 +3,12 @@ import {Component, EventEmitter, Input, OnInit, Output} from '@angular/core';
|
||||
@Component({
|
||||
selector: 'app-test-sub-comp',
|
||||
templateUrl: './test-sub-comp.component.html',
|
||||
styleUrls: ['./test-sub-comp.component.css']
|
||||
styleUrls: ['./test-sub-comp.component.css'],
|
||||
})
|
||||
export class TestSubCompComponent implements OnInit {
|
||||
@Input()
|
||||
message: string;
|
||||
|
||||
@Input()
|
||||
anotherInput: string;
|
||||
|
||||
@@ -18,7 +19,6 @@ export class TestSubCompComponent implements OnInit {
|
||||
}
|
||||
|
||||
ngOnInit(): void {
|
||||
this.message;
|
||||
// this.message;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user