Skip to content

bad approach

bad approach #10

Triggered via push September 7, 2024 03:41
Status Failure
Total duration 43s
Billable time 3m
Artifacts

node.yml

on: push
Matrix: build
Fit to window
Zoom out
Zoom in

Annotations

26 errors
build (20.x): src/commands/hand.ts#L33
Property 'hand' does not exist on type 'BlackjackPlayer | TexasHoldemPlayer'.
build (20.x): src/commands/hand.ts#L34
Property 'hand' does not exist on type 'BlackjackPlayer | TexasHoldemPlayer'.
build (20.x): src/commands/hand.ts#L35
Property 'hand' does not exist on type 'BlackjackPlayer | TexasHoldemPlayer'.
build (20.x): src/commands/hand.ts#L44
Property 'hand' does not exist on type 'BlackjackPlayer | TexasHoldemPlayer'.
build (20.x): 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'.
build (20.x): src/commands/table.ts#L88
Object literal may only specify known properties, and 'history' does not exist in type 'BlackjackPlayer'.
build (20.x): src/commands/table.ts#L98
Object literal may only specify known properties, and 'history' does not exist in type 'TexasHoldemPlayer'.
build (20.x)
Process completed with exit code 2.
build (18.x)
The job was canceled because "_20_x" failed.
build (18.x): src/commands/hand.ts#L33
Property 'hand' does not exist on type 'BlackjackPlayer | TexasHoldemPlayer'.
build (18.x): src/commands/hand.ts#L34
Property 'hand' does not exist on type 'BlackjackPlayer | TexasHoldemPlayer'.
build (18.x): src/commands/hand.ts#L35
Property 'hand' does not exist on type 'BlackjackPlayer | TexasHoldemPlayer'.
build (18.x): src/commands/hand.ts#L44
Property 'hand' does not exist on type 'BlackjackPlayer | TexasHoldemPlayer'.
build (18.x): 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'.
build (18.x): src/commands/table.ts#L88
Object literal may only specify known properties, and 'history' does not exist in type 'BlackjackPlayer'.
build (18.x): src/commands/table.ts#L98
Object literal may only specify known properties, and 'history' does not exist in type 'TexasHoldemPlayer'.
build (18.x)
The operation was canceled.
build (22.x)
The job was canceled because "_20_x" failed.
build (22.x): src/commands/hand.ts#L33
Property 'hand' does not exist on type 'BlackjackPlayer | TexasHoldemPlayer'.
build (22.x): src/commands/hand.ts#L34
Property 'hand' does not exist on type 'BlackjackPlayer | TexasHoldemPlayer'.
build (22.x): src/commands/hand.ts#L35
Property 'hand' does not exist on type 'BlackjackPlayer | TexasHoldemPlayer'.
build (22.x): src/commands/hand.ts#L44
Property 'hand' does not exist on type 'BlackjackPlayer | TexasHoldemPlayer'.
build (22.x): 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'.
build (22.x): src/commands/table.ts#L88
Object literal may only specify known properties, and 'history' does not exist in type 'BlackjackPlayer'.
build (22.x): src/commands/table.ts#L98
Object literal may only specify known properties, and 'history' does not exist in type 'TexasHoldemPlayer'.
build (22.x)
The operation was canceled.