Merge pull request #2270 from thadguidry/patch-1

fix typo for @param host in getScriptRam()
This commit is contained in:
hydroflame 2022-01-02 11:35:38 -05:00 committed by GitHub
commit b9b4ee23fe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

2
dist/bitburner.d.ts vendored

@ -3498,7 +3498,7 @@ export declare interface NS extends Singularity {
* Returns 0 if the script does not exist.
*
* @param script - Filename of script. This is case-sensitive.
* @param host - Host of target server the script is located on. This is optional, If it is not specified then the function will se the current server as the target server.
* @param host - Host of target server the script is located on. This is optional, If it is not specified then the function will use the current server as the target server.
* @returns Amount of RAM required to run the specified script on the target server, and 0 if the script does not exist.
*/
getScriptRam(script: string, host?: string): number;