From e0aaa383a42960b0a40c3bc395cc8de804b90644 Mon Sep 17 00:00:00 2001 From: TheMas3212 Date: Thu, 23 Dec 2021 14:42:06 +1100 Subject: [PATCH] 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 --- src/ScriptEditor/NetscriptDefinitions.d.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ScriptEditor/NetscriptDefinitions.d.ts b/src/ScriptEditor/NetscriptDefinitions.d.ts index 415a2bbe7..d125e2c8e 100644 --- a/src/ScriptEditor/NetscriptDefinitions.d.ts +++ b/src/ScriptEditor/NetscriptDefinitions.d.ts @@ -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; }