mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-11-26 17:43:48 +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:
parent
88151efa61
commit
e0aaa383a4
2
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
2
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@ -229,7 +229,7 @@ export interface AugmentationStats {
|
||||
*/
|
||||
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. */
|
||||
threads: number;
|
||||
threads?: number;
|
||||
/** Set to true this action will affect the stock market. */
|
||||
stock?: boolean;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user