MISC: Change how enums are exposed in NetscriptDefinitions.d.ts (#1998)

This commit is contained in:
catloversg
2025-05-10 16:28:48 +07:00
committed by GitHub
parent 7db15a6bd2
commit 22ee7fca2c
144 changed files with 1628 additions and 1458 deletions

View File

@@ -11,8 +11,8 @@ Set a sleeve to take a class at a university.
```typescript
setToUniversityCourse(
sleeveNumber: number,
universityName: UniversityLocationName | `${UniversityLocationName}`,
courseName: UniversityClassType | `${UniversityClassType}`,
universityName: UniversityLocationName,
courseName: UniversityClassType,
): boolean;
```
@@ -21,8 +21,8 @@ setToUniversityCourse(
| Parameter | Type | Description |
| --- | --- | --- |
| sleeveNumber | number | Index of the sleeve to start taking class. |
| universityName | [UniversityLocationName](./bitburner.universitylocationname.md) \| \`${[UniversityLocationName](./bitburner.universitylocationname.md)<!-- -->}\` | Name of the university to attend. |
| courseName | [UniversityClassType](./bitburner.universityclasstype.md) \| \`${[UniversityClassType](./bitburner.universityclasstype.md)<!-- -->}\` | Name of the course to follow. |
| universityName | [UniversityLocationName](./bitburner.universitylocationname.md) | Name of the university to attend. |
| courseName | [UniversityClassType](./bitburner.universityclasstype.md) | Name of the course to follow. |
**Returns:**