DOCUMENTATION: Clarify ns.singularity.quitJob (#1979)

This commit is contained in:
catloversg
2025-02-28 01:03:46 +07:00
committed by GitHub
parent 05f0ba1ac6
commit fed3cf1af2
2 changed files with 9 additions and 5 deletions

View File

@@ -2130,12 +2130,14 @@ export interface Singularity {
* @remarks
* RAM cost: 3 GB * 16/4/1
*
* This function quits the current work if it's from the provided company.
*
* This function will finish work with the company provided and quit any jobs.
* This function affects you and all sleeves. If a sleeve is working for this company, it will stop working and be
* idle.
*
* @param companyName - Name of the company.
*/
quitJob(companyName?: CompanyName | `${CompanyName}`): void;
quitJob(companyName: CompanyName | `${CompanyName}`): void;
/**
* Apply for a job at a company.