mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-17 14:59:16 +02:00
Merge pull request #2934 from phyzical/bugfix/1955
added check for NS interface with user defined guard
This commit is contained in:
2
dist/bitburner.d.ts
vendored
2
dist/bitburner.d.ts
vendored
@@ -3915,7 +3915,7 @@ export declare interface NS extends Singularity {
|
||||
* @param data - Data to write.
|
||||
* @returns True if the data is successfully written to the port, and false otherwise.
|
||||
*/
|
||||
tryWritePort(port: number, data: string[] | number): Promise<boolean>;
|
||||
tryWritePort(port: number, data: string | number): Promise<boolean>;
|
||||
|
||||
/**
|
||||
* Read content of a file.
|
||||
|
||||
Reference in New Issue
Block a user