jssm 5.79.0 → 5.79.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/CHANGELOG.md +36 -31
- package/README.md +2 -2
- package/dist/es6/jssm.d.ts +17 -0
- package/dist/es6/jssm.js +29 -0
- package/dist/es6/version.js +1 -1
- package/dist/jssm.es5.cjs.js +1 -1
- package/dist/jssm.es5.iife.js +1 -1
- package/jssm.d.ts +17 -0
- package/package.json +1 -1
package/jssm.d.ts
CHANGED
|
@@ -312,6 +312,23 @@ declare class Machine<mDT> {
|
|
|
312
312
|
*
|
|
313
313
|
*/
|
|
314
314
|
prop(name: string): any;
|
|
315
|
+
/*********
|
|
316
|
+
*
|
|
317
|
+
* Get the current value of a given property name. If missing on the state
|
|
318
|
+
* and without a global default, throw, unlike {@link prop}, which would
|
|
319
|
+
* return `undefined` instead.
|
|
320
|
+
*
|
|
321
|
+
* ```typescript
|
|
322
|
+
*
|
|
323
|
+
* ```
|
|
324
|
+
*
|
|
325
|
+
* @param name The relevant property name to look up
|
|
326
|
+
*
|
|
327
|
+
* @returns The value behind the prop name. Because functional props are
|
|
328
|
+
* evaluated as getters, this can be anything.
|
|
329
|
+
*
|
|
330
|
+
*/
|
|
331
|
+
strict_prop(name: string): any;
|
|
315
332
|
/*********
|
|
316
333
|
*
|
|
317
334
|
* Get the current value of every prop, as an object. If no current definition
|