DOCUMENTATION: Fix api-extractor warnings (#2701)

This commit is contained in:
catloversg
2026-04-29 05:39:48 +07:00
committed by GitHub
parent 234ee7a923
commit 851ed2b9dc
5 changed files with 12 additions and 3 deletions
+6 -1
View File
@@ -1744,6 +1744,11 @@ export interface Stock {
nextUpdate(): Promise<number>;
}
/**
* Base interface of all tasks.
*
* @public
*/
interface BaseTask {
/**
* This promise resolves when the task completes or is canceled.
@@ -6322,7 +6327,7 @@ interface HackingFormulas {
* Calculate the security decrease from a weaken operation.
* Unlike other hacking formulas, weaken effect depends only on thread count and
* core count, not on server or player properties. The core bonus formula is
* {@code 1 + (cores - 1) / 16}.
* `1 + (cores - 1) / 16}`.
* @param threads - Number of threads running weaken.
* @param cores - Number of cores on the host server. Default 1.
* @returns The security decrease amount.