From e7a4a250c3457e090a722fef62042b2bc6f45dd9 Mon Sep 17 00:00:00 2001 From: "Akshay.L.Aradhya" Date: Sun, 28 Jan 2024 17:01:23 +0530 Subject: [PATCH] Update Order interface in market.ts Setting the type to ORDER_BUY | ORDER_SELL instead of string --- src/market.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/market.ts b/src/market.ts index 710bcfc..2132ea3 100644 --- a/src/market.ts +++ b/src/market.ts @@ -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;