Merge pull request #4245 from dbachran/4239-adjust-write-documentation

MISC: Adjust write() documentation, only accepts strings now
This commit is contained in:
hydroflame 2022-10-19 11:46:08 -04:00 committed by GitHub
commit 0f46d72a01
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -6255,7 +6255,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.