mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2025-02-17 02:22:23 +01:00
modify BasicHGWOptions definition to mark threads parameter as optional
this is used by hack, grow and weaken all of which dont require it to be defined
This commit is contained in:
2
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
2
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@ -229,7 +229,7 @@ export interface AugmentationStats {
|
|||||||
*/
|
*/
|
||||||
export interface BasicHGWOptions {
|
export interface BasicHGWOptions {
|
||||||
/** Number of threads to use for this function. Must be less than or equal to the number of threads the script is running with. */
|
/** Number of threads to use for this function. Must be less than or equal to the number of threads the script is running with. */
|
||||||
threads: number;
|
threads?: number;
|
||||||
/** Set to true this action will affect the stock market. */
|
/** Set to true this action will affect the stock market. */
|
||||||
stock?: boolean;
|
stock?: boolean;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user