bad approach #10
Annotations
8 errors
src/commands/hand.ts#L33
Property 'hand' does not exist on type 'BlackjackPlayer | TexasHoldemPlayer'.
|
src/commands/hand.ts#L34
Property 'hand' does not exist on type 'BlackjackPlayer | TexasHoldemPlayer'.
|
src/commands/hand.ts#L35
Property 'hand' does not exist on type 'BlackjackPlayer | TexasHoldemPlayer'.
|
src/commands/hand.ts#L44
Property 'hand' does not exist on type 'BlackjackPlayer | TexasHoldemPlayer'.
|
src/commands/register.ts#L87
Argument of type '{ id: string; game: "blackjack"; stakes: "low" | "medium" | "high"; turnDuration: number; players: never[]; state: {}; options: { decks: number; maxPlayers: number; minBet: number; maxBet: number; }; } | { ...; }' is not assignable to parameter of type 'Table'.
|
src/commands/table.ts#L88
Object literal may only specify known properties, and 'history' does not exist in type 'BlackjackPlayer'.
|
src/commands/table.ts#L98
Object literal may only specify known properties, and 'history' does not exist in type 'TexasHoldemPlayer'.
|
|
The logs for this run have expired and are no longer available.
Loading