mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2024-12-24 07:02:26 +01:00
Merge pull request #4245 from dbachran/4239-adjust-write-documentation
MISC: Adjust write() documentation, only accepts strings now
This commit is contained in:
commit
0f46d72a01
2
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
2
src/ScriptEditor/NetscriptDefinitions.d.ts
vendored
@ -6255,7 +6255,7 @@ export interface NS {
|
|||||||
* @param data - Data to write.
|
* @param data - Data to write.
|
||||||
* @param mode - Defines the write mode.
|
* @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.
|
* Attempt to write to a port.
|
||||||
|
Loading…
Reference in New Issue
Block a user