From ebdeb15d5a417c53e2ad6eefa26c7d7dd831d085 Mon Sep 17 00:00:00 2001 From: Duck McSouls Date: Fri, 30 Sep 2022 14:19:19 +1000 Subject: [PATCH] DOC: print() and friends: typo fixes Some typographical fixes. In the generated documentation for `tprintf()`, the documentation for the parameter `values` is missing because `@param msg` should be `@param values`. --- src/ScriptEditor/NetscriptDefinitions.d.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/ScriptEditor/NetscriptDefinitions.d.ts b/src/ScriptEditor/NetscriptDefinitions.d.ts index 903f65400..bbe654f71 100644 --- a/src/ScriptEditor/NetscriptDefinitions.d.ts +++ b/src/ScriptEditor/NetscriptDefinitions.d.ts @@ -4832,7 +4832,7 @@ export interface NS { * RAM cost: 0 GB * * see: https://github.com/alexei/sprintf.js - * @param format - format of the message + * @param format - Format of the message. * @param args - Value(s) to be printed. */ printf(format: string, ...args: any[]): void; @@ -4852,8 +4852,8 @@ export interface NS { * RAM cost: 0 GB * * see: https://github.com/alexei/sprintf.js - * @param format - format of the message - * @param msg - Value to be printed. + * @param format - Format of the message. + * @param values - Value(s) to be printed. */ tprintf(format: string, ...values: any[]): void;