mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-18 15:28:43 +02:00
ENUMS: Initial Enum Helper rework + Reorganization (#596)
This commit is contained in:
8
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
8
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@@ -342,13 +342,13 @@ interface AugmentPair {
|
||||
}
|
||||
|
||||
/** @public */
|
||||
declare enum PositionTypes {
|
||||
declare enum PositionType {
|
||||
Long = "L",
|
||||
Short = "S",
|
||||
}
|
||||
|
||||
/** @public */
|
||||
declare enum OrderTypes {
|
||||
declare enum OrderType {
|
||||
LimitBuy = "Limit Buy Order",
|
||||
LimitSell = "Limit Sell Order",
|
||||
StopBuy = "Stop Buy Order",
|
||||
@@ -365,9 +365,9 @@ interface StockOrderObject {
|
||||
/** Price per share */
|
||||
price: number;
|
||||
/** Order type */
|
||||
type: OrderTypes;
|
||||
type: OrderType;
|
||||
/** Order position */
|
||||
position: PositionTypes;
|
||||
position: PositionType;
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user