refactor: update import paths for better readability
This commit is contained in:
parent
defe26d0c1
commit
b4caf70ffe
8 changed files with 18 additions and 11 deletions
|
@ -8,8 +8,8 @@ import {
|
|||
SimpleChanges,
|
||||
} from '@angular/core';
|
||||
import { CommonModule } from '@angular/common';
|
||||
import { suitSymbols, Suit } from '../../models/blackjack.model';
|
||||
import { gsap } from 'gsap';
|
||||
import { Suit, suitSymbols } from '@blackjack/models/blackjack.model';
|
||||
|
||||
@Component({
|
||||
selector: 'app-playing-card',
|
||||
|
@ -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';
|
||||
|
|
Reference in a new issue