jssm 5.157.2 → 5.157.4

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.
@@ -336,6 +336,12 @@ declare function membership_distance(registry: JssmGroupRegistry, state: string,
336
336
  * semantic error thrown will carry a `source_location` span
337
337
  * pointing at the offending statement.
338
338
  *
339
+ * @throws {JssmError} If the document declares no transitions (for example a
340
+ * states-first document of only `state` blocks) — a
341
+ * machine requires at least one transition; also for
342
+ * repeated property definitions, group errors, and other
343
+ * semantic problems noted throughout.
344
+ *
339
345
  */
340
346
  declare function compile<StateType, mDT>(tree: JssmParseTree<StateType, mDT>): JssmGenericConfig<StateType, mDT>;
341
347
  /*********