Skip to content

Commit

Permalink
Merge pull request #2 from homanp/chore/add-street-enum-type
Browse files Browse the repository at this point in the history
Add street enum types
  • Loading branch information
homanp authored Nov 15, 2024
2 parents 79c7db8 + 85ff771 commit c7dc29e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ Add a new round to the hand history.
interface Round {
id: number;
cards?: string[];
street: string;
street: "Preflop" | "Flop" | "Turn" | "River" | "Showdown"
actions: Action[];
}
```
Expand Down
2 changes: 1 addition & 1 deletion src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export interface Action {
export interface Round {
id: number;
cards?: string[];
street: string;
street: "Preflop" | "Flop" | "Turn" | "River" | "Showdown";
actions: Action[];
}

Expand Down

0 comments on commit c7dc29e

Please sign in to comment.