style: format constructor style in components
This commit is contained in:
parent
2405c00f49
commit
2a11675fb6
3 changed files with 3 additions and 3 deletions
|
@ -58,7 +58,7 @@ export class PlayingCardComponent implements AfterViewInit, OnChanges {
|
|||
@Input({ required: true }) hidden!: boolean;
|
||||
@Input() isNew = false;
|
||||
|
||||
constructor(private elementRef: ElementRef) { }
|
||||
constructor(private elementRef: ElementRef) {}
|
||||
|
||||
get isRedSuit(): boolean {
|
||||
return this.suit === 'HEARTS' || this.suit === 'DIAMONDS';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue