diff --git a/src/ScriptEditor/NetscriptDefinitions.d.ts b/src/ScriptEditor/NetscriptDefinitions.d.ts index ef3fa68e9..8f346ac31 100644 --- a/src/ScriptEditor/NetscriptDefinitions.d.ts +++ b/src/ScriptEditor/NetscriptDefinitions.d.ts @@ -6247,7 +6247,7 @@ export interface NS { * @param data - Data to write. * @param mode - Defines the write mode. */ - write(filename: string, data?: string[] | number | string, mode?: "w" | "a"): void; + write(filename: string, data?: string, mode?: "w" | "a"): void; /** * Attempt to write to a port.