Skip to content

Commit

Permalink
fix code warning
Browse files Browse the repository at this point in the history
  • Loading branch information
stefanseifert committed Nov 30, 2024
1 parent 5c82e65 commit 184d741
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/services/CardDeck.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ export default class CardDeck {
private static readonly CARD_9 = '9'
private static readonly CARD_15 = '15'

private readonly _deck : Card[]
private _deck : Card[]
private readonly _reserve : Card[]
private readonly _discard : Card[]
private _discard : Card[]

public constructor(deck : Card[], reserve : Card[], discard : Card[]) {
this._deck = deck
Expand Down
4 changes: 2 additions & 2 deletions src/services/Player.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import { RoundTurn } from '@/store/state'

export default class Player {
private _player?: number
private _bot?: number
private readonly _player?: number
private readonly _bot?: number

private constructor(player : number|undefined, bot : number|undefined) {
this._player = player
Expand Down

0 comments on commit 184d741

Please sign in to comment.