jssm 5.162.0 → 5.162.2
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/README.md +2 -2
- package/dist/cdn/instance.js +1 -1
- package/dist/cdn/viz.js +1 -1
- package/dist/cli/fsl-export-system-prompt.cjs +1 -1
- package/dist/cli/fsl-render.cjs +1 -1
- package/dist/cli/fsl.cjs +1 -1
- package/dist/cli/lib.cjs +1 -1
- package/dist/cli/lib.mjs +1 -1
- package/dist/deno/README.md +2 -2
- package/dist/deno/jssm.d.ts +46 -46
- package/dist/deno/jssm.js +1 -1
- package/dist/deno/jssm_compiler.d.ts +4 -4
- package/dist/deno/jssm_types.d.ts +4 -4
- package/dist/fence/fence.js +48 -48
- package/dist/jssm.es5.cjs +1 -1
- package/dist/jssm.es5.iife.js +1 -1
- package/dist/jssm.es6.mjs +1 -1
- package/dist/jssm_viz.cjs +1 -1
- package/dist/jssm_viz.iife.cjs +1 -1
- package/dist/jssm_viz.mjs +1 -1
- package/jssm.es5.d.cts +52 -52
- package/jssm.es6.d.ts +52 -52
- package/jssm.fence.d.ts +43 -43
- package/jssm_viz.es5.d.cts +43 -43
- package/jssm_viz.es6.d.ts +43 -43
- package/package.json +1 -1
package/dist/deno/README.md
CHANGED
|
@@ -18,10 +18,10 @@ Please edit the file it's derived from, instead: `./src/md/readme_base.md`
|
|
|
18
18
|
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
* Generated for version 5.162.
|
|
21
|
+
* Generated for version 5.162.2 at 7/9/2026, 8:17:40 PM
|
|
22
22
|
|
|
23
23
|
-->
|
|
24
|
-
# jssm 5.162.
|
|
24
|
+
# jssm 5.162.2
|
|
25
25
|
|
|
26
26
|
[**Try the live editor**](https://stonecypher.github.io/jssm-viz-demo/graph_explorer.html) ·
|
|
27
27
|
[Documentation](https://stonecypher.github.io/jssm/docs/) ·
|
package/dist/deno/jssm.d.ts
CHANGED
|
@@ -237,7 +237,7 @@ declare class Machine<mDT> {
|
|
|
237
237
|
* console.log( lswitch.state() ); // 'off'
|
|
238
238
|
* ```
|
|
239
239
|
*
|
|
240
|
-
* @
|
|
240
|
+
* @typeParam mDT The type of the machine data member; usually omitted
|
|
241
241
|
*
|
|
242
242
|
* @returns The current state name.
|
|
243
243
|
*
|
|
@@ -257,7 +257,7 @@ declare class Machine<mDT> {
|
|
|
257
257
|
*
|
|
258
258
|
* See also {@link display_text}.
|
|
259
259
|
*
|
|
260
|
-
* @
|
|
260
|
+
* @typeParam mDT The type of the machine data member; usually omitted
|
|
261
261
|
*
|
|
262
262
|
* @param state The state to get the label for.
|
|
263
263
|
*
|
|
@@ -284,7 +284,7 @@ declare class Machine<mDT> {
|
|
|
284
284
|
* console.log( lswitch.display_text('b') ); // 'b'
|
|
285
285
|
* ```
|
|
286
286
|
*
|
|
287
|
-
* @
|
|
287
|
+
* @typeParam mDT The type of the machine data member; usually omitted
|
|
288
288
|
*
|
|
289
289
|
* @param state The state to get display text for.
|
|
290
290
|
*
|
|
@@ -303,7 +303,7 @@ declare class Machine<mDT> {
|
|
|
303
303
|
* console.log( lswitch.data() ); // 1
|
|
304
304
|
* ```
|
|
305
305
|
*
|
|
306
|
-
* @
|
|
306
|
+
* @typeParam mDT The type of the machine data member; usually omitted
|
|
307
307
|
*
|
|
308
308
|
* @returns A deep clone of the machine's current data value.
|
|
309
309
|
*
|
|
@@ -467,7 +467,7 @@ declare class Machine<mDT> {
|
|
|
467
467
|
* console.log( final_test.is_start_state('b') ); // true
|
|
468
468
|
* ```
|
|
469
469
|
*
|
|
470
|
-
* @
|
|
470
|
+
* @typeParam mDT The type of the machine data member; usually omitted
|
|
471
471
|
*
|
|
472
472
|
* @param whichState The name of the state to check
|
|
473
473
|
*
|
|
@@ -492,7 +492,7 @@ declare class Machine<mDT> {
|
|
|
492
492
|
* console.log( final_test.is_start_state('b') ); // true
|
|
493
493
|
* ```
|
|
494
494
|
*
|
|
495
|
-
* @
|
|
495
|
+
* @typeParam mDT The type of the machine data member; usually omitted
|
|
496
496
|
*
|
|
497
497
|
* @param whichState The name of the state to check
|
|
498
498
|
*
|
|
@@ -545,7 +545,7 @@ declare class Machine<mDT> {
|
|
|
545
545
|
* console.log( final_test.state_is_final('second') ); // true
|
|
546
546
|
* ```
|
|
547
547
|
*
|
|
548
|
-
* @
|
|
548
|
+
* @typeParam mDT The type of the machine data member; usually omitted
|
|
549
549
|
*
|
|
550
550
|
* @param whichState The name of the state to check for finality
|
|
551
551
|
*
|
|
@@ -575,7 +575,7 @@ declare class Machine<mDT> {
|
|
|
575
575
|
* string to recreate (to not waste repeated space;) if you want the machine
|
|
576
576
|
* string embedded, call {@link serialize_with_string} instead.
|
|
577
577
|
*
|
|
578
|
-
* @
|
|
578
|
+
* @typeParam mDT The type of the machine data member; usually omitted
|
|
579
579
|
*
|
|
580
580
|
* @param comment An optional comment string to embed in the serialized
|
|
581
581
|
* output for identification or debugging.
|
|
@@ -735,7 +735,7 @@ declare class Machine<mDT> {
|
|
|
735
735
|
* console.log( lswitch.states() ); // ['on', 'off']
|
|
736
736
|
* ```
|
|
737
737
|
*
|
|
738
|
-
* @
|
|
738
|
+
* @typeParam mDT The type of the machine data member; usually omitted
|
|
739
739
|
*
|
|
740
740
|
* @returns An array of all state names in the machine.
|
|
741
741
|
*
|
|
@@ -760,7 +760,7 @@ declare class Machine<mDT> {
|
|
|
760
760
|
* console.log( lswitch.has_state('dance') ); // false
|
|
761
761
|
* ```
|
|
762
762
|
*
|
|
763
|
-
* @
|
|
763
|
+
* @typeParam mDT The type of the machine data member; usually omitted
|
|
764
764
|
*
|
|
765
765
|
* @param whichState The state to be checked for existence.
|
|
766
766
|
*
|
|
@@ -798,7 +798,7 @@ declare class Machine<mDT> {
|
|
|
798
798
|
* ]
|
|
799
799
|
* ```
|
|
800
800
|
*
|
|
801
|
-
* @
|
|
801
|
+
* @typeParam mDT The type of the machine data member; usually omitted
|
|
802
802
|
*
|
|
803
803
|
* @returns An array of all {@link JssmTransition} edge objects.
|
|
804
804
|
*
|
|
@@ -949,7 +949,7 @@ declare class Machine<mDT> {
|
|
|
949
949
|
* light.list_transitions(); // { entrances: [ 'yellow', 'off' ], exits: [ 'green', 'off' ] }
|
|
950
950
|
* ```
|
|
951
951
|
*
|
|
952
|
-
* @
|
|
952
|
+
* @typeParam mDT The type of the machine data member; usually omitted
|
|
953
953
|
*
|
|
954
954
|
* @param whichState The state whose transitions to have listed
|
|
955
955
|
*
|
|
@@ -972,7 +972,7 @@ declare class Machine<mDT> {
|
|
|
972
972
|
* light.list_entrances(); // [ 'yellow', 'off' ]
|
|
973
973
|
* ```
|
|
974
974
|
*
|
|
975
|
-
* @
|
|
975
|
+
* @typeParam mDT The type of the machine data member; usually omitted
|
|
976
976
|
*
|
|
977
977
|
* @param whichState The state whose entrances to have listed
|
|
978
978
|
*
|
|
@@ -994,7 +994,7 @@ declare class Machine<mDT> {
|
|
|
994
994
|
* light.list_exits(); // [ 'green', 'off' ]
|
|
995
995
|
* ```
|
|
996
996
|
*
|
|
997
|
-
* @
|
|
997
|
+
* @typeParam mDT The type of the machine data member; usually omitted
|
|
998
998
|
*
|
|
999
999
|
* @param whichState The state whose exits to have listed
|
|
1000
1000
|
*
|
|
@@ -1132,7 +1132,7 @@ declare class Machine<mDT> {
|
|
|
1132
1132
|
* console.log( machine.actions() ); // logs ['next', 'shutdown']
|
|
1133
1133
|
* ```
|
|
1134
1134
|
*
|
|
1135
|
-
* @
|
|
1135
|
+
* @typeParam mDT The type of the machine data member; usually omitted
|
|
1136
1136
|
*
|
|
1137
1137
|
* @param whichState The state whose actions to list. Defaults to the
|
|
1138
1138
|
* current state.
|
|
@@ -1158,7 +1158,7 @@ declare class Machine<mDT> {
|
|
|
1158
1158
|
* console.log( machine.list_states_having_action('start') ); // ['off']
|
|
1159
1159
|
* ```
|
|
1160
1160
|
*
|
|
1161
|
-
* @
|
|
1161
|
+
* @typeParam mDT The type of the machine data member; usually omitted
|
|
1162
1162
|
*
|
|
1163
1163
|
* @param whichState The action to be checked for associated states
|
|
1164
1164
|
*
|
|
@@ -1231,7 +1231,7 @@ declare class Machine<mDT> {
|
|
|
1231
1231
|
* m.isIn('nonesuch'); // false — undeclared group has no members
|
|
1232
1232
|
* ```
|
|
1233
1233
|
*
|
|
1234
|
-
* @
|
|
1234
|
+
* @typeParam mDT The type of the machine data member; usually omitted
|
|
1235
1235
|
*
|
|
1236
1236
|
* @param groupName The group to test the current state against.
|
|
1237
1237
|
*
|
|
@@ -1259,7 +1259,7 @@ declare class Machine<mDT> {
|
|
|
1259
1259
|
* m.groupsOf('z'); // Set {} — not in any group
|
|
1260
1260
|
* ```
|
|
1261
1261
|
*
|
|
1262
|
-
* @
|
|
1262
|
+
* @typeParam mDT The type of the machine data member; usually omitted
|
|
1263
1263
|
*
|
|
1264
1264
|
* @param state The state whose containing groups are wanted.
|
|
1265
1265
|
*
|
|
@@ -1285,7 +1285,7 @@ declare class Machine<mDT> {
|
|
|
1285
1285
|
* m.groups(); // [ 'first', 'second' ]
|
|
1286
1286
|
* ```
|
|
1287
1287
|
*
|
|
1288
|
-
* @
|
|
1288
|
+
* @typeParam mDT The type of the machine data member; usually omitted
|
|
1289
1289
|
*
|
|
1290
1290
|
* @returns The declared group names, in declaration order.
|
|
1291
1291
|
*
|
|
@@ -1308,7 +1308,7 @@ declare class Machine<mDT> {
|
|
|
1308
1308
|
* m.statesIn('inner'); // [ 'a', 'b' ]
|
|
1309
1309
|
* ```
|
|
1310
1310
|
*
|
|
1311
|
-
* @
|
|
1311
|
+
* @typeParam mDT The type of the machine data member; usually omitted
|
|
1312
1312
|
*
|
|
1313
1313
|
* @param groupName The group whose transitive member states are wanted.
|
|
1314
1314
|
*
|
|
@@ -1356,7 +1356,7 @@ declare class Machine<mDT> {
|
|
|
1356
1356
|
* off(); // unsubscribe
|
|
1357
1357
|
* ```
|
|
1358
1358
|
*
|
|
1359
|
-
* @
|
|
1359
|
+
* @typeParam Ev The event name (drives the detail type).
|
|
1360
1360
|
* @param name The event name to subscribe to.
|
|
1361
1361
|
* @param filterOrFn Either a filter object or, when calling the no-filter
|
|
1362
1362
|
* form, the handler itself.
|
|
@@ -1377,7 +1377,7 @@ declare class Machine<mDT> {
|
|
|
1377
1377
|
* m.once('terminal', e => console.log(`done at ${e.state}`));
|
|
1378
1378
|
* ```
|
|
1379
1379
|
*
|
|
1380
|
-
* @
|
|
1380
|
+
* @typeParam Ev The event name.
|
|
1381
1381
|
* @param name The event name.
|
|
1382
1382
|
* @param filterOrFn A filter object or the handler (no-filter form).
|
|
1383
1383
|
* @param maybeFn The handler, when a filter was supplied.
|
|
@@ -1881,7 +1881,7 @@ declare class Machine<mDT> {
|
|
|
1881
1881
|
* - When multiple edges exist between two states with different `kind`
|
|
1882
1882
|
* values, only the first edge's kind is used to pick the edge-type hook.
|
|
1883
1883
|
*
|
|
1884
|
-
* @
|
|
1884
|
+
* @typeParam mDT The type of the machine data member; usually omitted.
|
|
1885
1885
|
*
|
|
1886
1886
|
* @param newStateOrAction The target state name (for a plain or forced
|
|
1887
1887
|
* transition) or the action name (when `wasAction` is true).
|
|
@@ -1933,7 +1933,7 @@ declare class Machine<mDT> {
|
|
|
1933
1933
|
*
|
|
1934
1934
|
* Notice that the machine's current state, `e`, is not in the returned list.
|
|
1935
1935
|
*
|
|
1936
|
-
* @
|
|
1936
|
+
* @typeParam mDT The type of the machine data member; usually omitted
|
|
1937
1937
|
*
|
|
1938
1938
|
*/
|
|
1939
1939
|
get history(): [string, mDT][];
|
|
@@ -1966,7 +1966,7 @@ declare class Machine<mDT> {
|
|
|
1966
1966
|
*
|
|
1967
1967
|
* Notice that the machine's current state, `e`, is in the returned list.
|
|
1968
1968
|
*
|
|
1969
|
-
* @
|
|
1969
|
+
* @typeParam mDT The type of the machine data member; usually omitted
|
|
1970
1970
|
*
|
|
1971
1971
|
*/
|
|
1972
1972
|
get history_inclusive(): [string, mDT][];
|
|
@@ -1985,7 +1985,7 @@ declare class Machine<mDT> {
|
|
|
1985
1985
|
* foo.history_length; // 5
|
|
1986
1986
|
* ```
|
|
1987
1987
|
*
|
|
1988
|
-
* @
|
|
1988
|
+
* @typeParam mDT The type of the machine data member; usually omitted
|
|
1989
1989
|
*
|
|
1990
1990
|
*/
|
|
1991
1991
|
get history_length(): number;
|
|
@@ -2002,7 +2002,7 @@ declare class Machine<mDT> {
|
|
|
2002
2002
|
* light.state(); // 'green'
|
|
2003
2003
|
* ```
|
|
2004
2004
|
*
|
|
2005
|
-
* @
|
|
2005
|
+
* @typeParam mDT The type of the machine data member; usually omitted
|
|
2006
2006
|
*
|
|
2007
2007
|
* @param actionName The action to engage
|
|
2008
2008
|
*
|
|
@@ -2029,7 +2029,7 @@ declare class Machine<mDT> {
|
|
|
2029
2029
|
* // { shape: 'circle' }
|
|
2030
2030
|
* ```
|
|
2031
2031
|
*
|
|
2032
|
-
* @
|
|
2032
|
+
* @typeParam mDT The type of the machine data member; usually omitted
|
|
2033
2033
|
*
|
|
2034
2034
|
* @returns The {@link JssmStateConfig} for standard states.
|
|
2035
2035
|
*
|
|
@@ -2055,7 +2055,7 @@ declare class Machine<mDT> {
|
|
|
2055
2055
|
* // { shape: 'circle' }
|
|
2056
2056
|
* ```
|
|
2057
2057
|
*
|
|
2058
|
-
* @
|
|
2058
|
+
* @typeParam mDT The type of the machine data member; usually omitted
|
|
2059
2059
|
*
|
|
2060
2060
|
* @returns The {@link JssmStateConfig} for hooked states.
|
|
2061
2061
|
*
|
|
@@ -2080,7 +2080,7 @@ declare class Machine<mDT> {
|
|
|
2080
2080
|
* // { shape: 'circle' }
|
|
2081
2081
|
* ```
|
|
2082
2082
|
*
|
|
2083
|
-
* @
|
|
2083
|
+
* @typeParam mDT The type of the machine data member; usually omitted
|
|
2084
2084
|
*
|
|
2085
2085
|
* @returns The {@link JssmStateConfig} for start states.
|
|
2086
2086
|
*
|
|
@@ -2110,7 +2110,7 @@ declare class Machine<mDT> {
|
|
|
2110
2110
|
* // { shape: 'circle' }
|
|
2111
2111
|
* ```
|
|
2112
2112
|
*
|
|
2113
|
-
* @
|
|
2113
|
+
* @typeParam mDT The type of the machine data member; usually omitted
|
|
2114
2114
|
*
|
|
2115
2115
|
* @returns The {@link JssmStateConfig} for end states.
|
|
2116
2116
|
*
|
|
@@ -2135,7 +2135,7 @@ declare class Machine<mDT> {
|
|
|
2135
2135
|
* // { shape: 'circle' }
|
|
2136
2136
|
* ```
|
|
2137
2137
|
*
|
|
2138
|
-
* @
|
|
2138
|
+
* @typeParam mDT The type of the machine data member; usually omitted
|
|
2139
2139
|
*
|
|
2140
2140
|
* @returns The {@link JssmStateConfig} for terminal states.
|
|
2141
2141
|
*
|
|
@@ -2157,7 +2157,7 @@ declare class Machine<mDT> {
|
|
|
2157
2157
|
* // { shape: 'circle' }
|
|
2158
2158
|
* ```
|
|
2159
2159
|
*
|
|
2160
|
-
* @
|
|
2160
|
+
* @typeParam mDT The type of the machine data member; usually omitted
|
|
2161
2161
|
*
|
|
2162
2162
|
* @returns The {@link JssmStateConfig} for the active state.
|
|
2163
2163
|
*
|
|
@@ -2429,7 +2429,7 @@ declare class Machine<mDT> {
|
|
|
2429
2429
|
* m.resolve_state_config('working').color; // '#ffa500ff' — from group &busy
|
|
2430
2430
|
* ```
|
|
2431
2431
|
*
|
|
2432
|
-
* @
|
|
2432
|
+
* @typeParam mDT The type of the machine data member; usually omitted
|
|
2433
2433
|
*
|
|
2434
2434
|
* @param state The state to compute the composite config for.
|
|
2435
2435
|
*
|
|
@@ -2452,7 +2452,7 @@ declare class Machine<mDT> {
|
|
|
2452
2452
|
* winning over outer), then the per-state config, and finally — for the
|
|
2453
2453
|
* current state only — the active overlay. Last wins at every tier.
|
|
2454
2454
|
*
|
|
2455
|
-
* @
|
|
2455
|
+
* @typeParam mDT The type of the machine data member; usually omitted
|
|
2456
2456
|
*
|
|
2457
2457
|
* @param state The state to compute the composite style for.
|
|
2458
2458
|
*
|
|
@@ -2486,7 +2486,7 @@ declare class Machine<mDT> {
|
|
|
2486
2486
|
* light.state(); // 'yellow'
|
|
2487
2487
|
* ```
|
|
2488
2488
|
*
|
|
2489
|
-
* @
|
|
2489
|
+
* @typeParam mDT The type of the machine data member; usually omitted
|
|
2490
2490
|
*
|
|
2491
2491
|
* @param actionName The action to engage
|
|
2492
2492
|
*
|
|
@@ -2519,7 +2519,7 @@ declare class Machine<mDT> {
|
|
|
2519
2519
|
* light.state(); // 'green'
|
|
2520
2520
|
* ```
|
|
2521
2521
|
*
|
|
2522
|
-
* @
|
|
2522
|
+
* @typeParam mDT The type of the machine data member; usually omitted
|
|
2523
2523
|
*
|
|
2524
2524
|
* @param newState The state to switch to
|
|
2525
2525
|
*
|
|
@@ -2541,7 +2541,7 @@ declare class Machine<mDT> {
|
|
|
2541
2541
|
* light.state(); // 'green'
|
|
2542
2542
|
* ```
|
|
2543
2543
|
*
|
|
2544
|
-
* @
|
|
2544
|
+
* @typeParam mDT The type of the machine data member; usually omitted
|
|
2545
2545
|
*
|
|
2546
2546
|
* @param newState The state to switch to
|
|
2547
2547
|
*
|
|
@@ -2566,7 +2566,7 @@ declare class Machine<mDT> {
|
|
|
2566
2566
|
* light.state(); // 'off'
|
|
2567
2567
|
* ```
|
|
2568
2568
|
*
|
|
2569
|
-
* @
|
|
2569
|
+
* @typeParam mDT The type of the machine data member; usually omitted
|
|
2570
2570
|
*
|
|
2571
2571
|
* @param newState The state to switch to
|
|
2572
2572
|
*
|
|
@@ -2670,7 +2670,7 @@ declare class Machine<mDT> {
|
|
|
2670
2670
|
* const lswitch = jssm.from('on <=> off;');
|
|
2671
2671
|
* ```
|
|
2672
2672
|
*
|
|
2673
|
-
* @
|
|
2673
|
+
* @typeParam mDT The type of the machine data member; usually omitted
|
|
2674
2674
|
*
|
|
2675
2675
|
* @param template_strings The assembled code
|
|
2676
2676
|
*
|
|
@@ -2693,7 +2693,7 @@ declare function sm<mDT>(template_strings: TemplateStringsArray, ...remainder: a
|
|
|
2693
2693
|
* const lswitch = jssm.from('on <=> off;');
|
|
2694
2694
|
* ```
|
|
2695
2695
|
*
|
|
2696
|
-
* @
|
|
2696
|
+
* @typeParam mDT The type of the machine data member; usually omitted
|
|
2697
2697
|
*
|
|
2698
2698
|
* @param MachineAsString The FSL code to evaluate
|
|
2699
2699
|
*
|
|
@@ -2719,7 +2719,7 @@ declare function from<mDT>(MachineAsString: string, ExtraConstructorFields?: Par
|
|
|
2719
2719
|
* is_hook_complex_result({ other: 'thing' }); // false
|
|
2720
2720
|
* ```
|
|
2721
2721
|
*
|
|
2722
|
-
* @
|
|
2722
|
+
* @typeParam mDT The type of the machine data member; usually omitted.
|
|
2723
2723
|
*
|
|
2724
2724
|
* @param hr The value to test.
|
|
2725
2725
|
*
|
|
@@ -2748,7 +2748,7 @@ declare function is_hook_complex_result<mDT>(hr: unknown): hr is HookComplexResu
|
|
|
2748
2748
|
* is_hook_rejection({ pass: false }); // true (reject)
|
|
2749
2749
|
* ```
|
|
2750
2750
|
*
|
|
2751
|
-
* @
|
|
2751
|
+
* @typeParam mDT The type of the machine data member; usually omitted.
|
|
2752
2752
|
*
|
|
2753
2753
|
* @param hr A hook result of any legal shape.
|
|
2754
2754
|
*
|
|
@@ -2778,7 +2778,7 @@ declare function is_hook_rejection<mDT>(hr: HookResult<mDT>): boolean;
|
|
|
2778
2778
|
*
|
|
2779
2779
|
* Anything else is a programmer error and throws.
|
|
2780
2780
|
*
|
|
2781
|
-
* @
|
|
2781
|
+
* @typeParam mDT The type of the machine data member; usually omitted.
|
|
2782
2782
|
*
|
|
2783
2783
|
* @param maybe_hook The hook handler to call, or `undefined` for the
|
|
2784
2784
|
* "no hook installed" case.
|
|
@@ -2815,7 +2815,7 @@ declare function abstract_hook_step<mDT>(maybe_hook: HookHandler<mDT> | undefine
|
|
|
2815
2815
|
* - `false` or `null` → `{ pass: false }`
|
|
2816
2816
|
* - a complex result → returned as-is
|
|
2817
2817
|
*
|
|
2818
|
-
* @
|
|
2818
|
+
* @typeParam mDT The type of the machine data member; usually omitted.
|
|
2819
2819
|
*
|
|
2820
2820
|
* @param maybe_hook The everything-hook handler, or `undefined` when none
|
|
2821
2821
|
* is installed.
|
|
@@ -2880,7 +2880,7 @@ declare function compareVersions(v1: string, v2: string): number;
|
|
|
2880
2880
|
* state, data, and history. For security and compatibility reasons, it will
|
|
2881
2881
|
* refuse to deserialize data from future versions of the library.
|
|
2882
2882
|
*
|
|
2883
|
-
* @
|
|
2883
|
+
* @typeParam mDT - The type of the machine data member
|
|
2884
2884
|
*
|
|
2885
2885
|
* @param {string} machine_string - The FSL string defining the machine structure
|
|
2886
2886
|
* @param {JssmSerialization<mDT>} ser - The serialization object to restore from
|