reactronic 0.96.26008 → 0.96.26009

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.
@@ -86,8 +86,9 @@ export declare abstract class BaseDriver<E = unknown> implements ReactiveTreeNod
86
86
  provideHost(node: ReactiveTreeNode<E>): ReactiveTreeNode<E>;
87
87
  }
88
88
  export declare class ReactiveTreeVariable<T extends Object = Object> {
89
+ readonly hint: string;
89
90
  readonly defaultValue: T | undefined;
90
- constructor(defaultValue?: T);
91
+ constructor(hint: string, defaultValue?: T);
91
92
  set value(value: T);
92
93
  get value(): T;
93
94
  get valueOrUndefined(): T | undefined;
@@ -167,7 +167,8 @@ export class BaseDriver {
167
167
  }
168
168
  }
169
169
  export class ReactiveTreeVariable {
170
- constructor(defaultValue) {
170
+ constructor(hint, defaultValue) {
171
+ this.hint = hint;
171
172
  this.defaultValue = defaultValue;
172
173
  }
173
174
  set value(value) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "reactronic",
3
- "version": "0.96.26008",
3
+ "version": "0.96.26009",
4
4
  "description": "Reactronic - Transactional Reactive State Management",
5
5
  "publisher": "Nezaboodka Software",
6
6
  "license": "Apache-2.0",