mirror of
https://github.com/bitburner-official/bitburner-src.git
synced 2026-04-26 19:14:32 +02:00
Add documentation for ns.pid
This commit is contained in:
@@ -1,12 +1,12 @@
|
||||
import { Player } from "@player";
|
||||
import { NSFull } from "../NetscriptFunctions";
|
||||
|
||||
/** This type assumes any value that isn't an API layer or a function has been omitted (args and enum) */
|
||||
/** This type assumes any value that isn't an API layer or a function has been omitted (enum) */
|
||||
type RamCostTree<API> = Omit<
|
||||
{
|
||||
[Property in keyof API]: API[Property] extends () => unknown ? number | (() => number) : RamCostTree<API[Property]>;
|
||||
},
|
||||
"enums" | "args"
|
||||
"enums"
|
||||
>;
|
||||
|
||||
/** Constants for assigning costs to ns functions */
|
||||
|
||||
Reference in New Issue
Block a user