s2cfgtojson 3.2.0 → 3.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Struct.test.mts +1 -1
- package/package.json +1 -1
- package/types.mts +1 -1
package/Struct.test.mts
CHANGED
|
@@ -318,4 +318,4 @@ struct.end`;
|
|
|
318
318
|
// noinspection JSUnusedLocalSymbols
|
|
319
319
|
const MyRank: ERank = "ERank::Experienced, ERank::Veteran, ERank::Master";
|
|
320
320
|
// noinspection BadExpressionStatementJS
|
|
321
|
-
(({}) as ArmorPrototype).
|
|
321
|
+
(({}) as ArmorPrototype).MeshGenerator[0].MeshGeneratorPrototypeSID;
|
package/package.json
CHANGED
package/types.mts
CHANGED
|
@@ -107,7 +107,7 @@ export interface DefaultEntries {
|
|
|
107
107
|
|
|
108
108
|
export type GetStructType<In> =
|
|
109
109
|
In extends Array<any>
|
|
110
|
-
? Struct & { [key in
|
|
110
|
+
? Struct & { [key in keyof In]: GetStructType<In[key]> }
|
|
111
111
|
: In extends Record<any, any>
|
|
112
112
|
? Struct & { [key in keyof In]: GetStructType<In[key]> }
|
|
113
113
|
: In extends string
|