@mintjamsinc/ichigojs 0.1.77 → 0.1.78

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.
@@ -11,9 +11,12 @@ export type VComputedDefinition = (() => unknown) | {
11
11
  export interface VApplicationOptions {
12
12
  /**
13
13
  * A function that returns the initial data for the application.
14
+ * Optional: an application (or component) whose state comes entirely from
15
+ * props, computed properties, or methods may omit it — the runtime already
16
+ * treats it as optional.
14
17
  * @returns The initial data for the application.
15
18
  */
16
- data: () => unknown;
19
+ data?: () => unknown;
17
20
  /**
18
21
  * A dictionary of computed properties for the application.
19
22
  * Each key is the name of the computed property, and the value is either:
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mintjamsinc/ichigojs",
3
- "version": "0.1.77",
3
+ "version": "0.1.78",
4
4
  "description": "ichigo.js - Simple and intuitive reactive framework. Lightweight, fast, and user-friendly virtual DOM library",
5
5
  "main": "./dist/ichigo.cjs",
6
6
  "module": "./dist/ichigo.esm.js",