Skip to content

Commit 150c14d

Browse files
committed
Move _ValueOf to top of file
1 parent a79692e commit 150c14d

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

src/ScriptEditor/NetscriptDefinitions.d.ts

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
/**
2+
* @public
3+
*/
4+
type _ValueOf<T> = T[keyof T];
5+
16
/** All netscript definitions */
27
/** @public */
38
interface HP {
@@ -8437,10 +8442,11 @@ type CorpIndustryName =
84378442
/** @public */
84388443
type CorpSmartSupplyOption = "leftovers" | "imports" | "none";
84398444

8440-
type _ValueOf<T> = T[keyof T];
8441-
8442-
/** Names of all cities
8443-
* @public */
8445+
/**
8446+
* Names of all cities
8447+
*
8448+
* @public
8449+
*/
84448450
type CityNameEnumType = {
84458451
Aevum: "Aevum";
84468452
Chongqing: "Chongqing";
@@ -8450,6 +8456,7 @@ type CityNameEnumType = {
84508456
Volhaven: "Volhaven";
84518457
};
84528458

8459+
/** @public */
84538460
type CityName = _ValueOf<CityNameEnumType>;
84548461

84558462
/** Names of all locations

0 commit comments

Comments
 (0)