Skip to content

Commit

Permalink
Update Order interface in market.ts
Browse files Browse the repository at this point in the history
Setting the type to ORDER_BUY | ORDER_SELL instead of string
  • Loading branch information
DollarAkshay authored Jan 28, 2024
1 parent 12cfd11 commit e7a4a25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/market.ts
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ interface Order {
id: string;
created: number;
active?: boolean;
type: string;
type: ORDER_BUY | ORDER_SELL;
resourceType: MarketResourceConstant;
roomName?: string;
amount: number;
Expand Down

0 comments on commit e7a4a25

Please sign in to comment.