#4239 Adjust write() documentation

write() only accepts strings now.
This commit is contained in:
Daniel Bachran 2022-10-13 17:45:40 +02:00
parent 6c84d64e67
commit 5acd5e84a3

@ -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.