update doc

This commit is contained in:
Olivier Gagnon
2022-04-13 01:35:35 -04:00
parent ac53dbf168
commit f555c4567b
70 changed files with 637 additions and 100 deletions

View File

@@ -4813,7 +4813,7 @@ export interface NS {
* Note that there is a maximum number of recently killed scripts which are tracked.
* This is configurable in the game's options as `Recently killed scripts size`.
*
* @usage below:
* @example
* ```ts
* let recentScripts = ns.getRecentScripts();
* let mostRecent = recentScripts.shift()
@@ -6426,6 +6426,7 @@ export interface NS {
// enum: NSEnums;
}
/** @public */
export enum ToastVariant {
SUCCESS = "success",
WARNING = "warning",
@@ -6433,6 +6434,7 @@ export enum ToastVariant {
INFO = "info",
}
/** @public */
export interface NSEnums {
toast: ToastVariant;
}
@@ -6957,7 +6959,7 @@ interface Product {
cmp: number | undefined;
/** Product Rating */
rat: number;
/** Product Properties. The data is {qlt, per, dur, rel, aes, fea} */
/** Product Properties. The data is \{qlt, per, dur, rel, aes, fea\} */
properties: { [key: string]: number };
/** Production cost */
pCost: number;