@nuxodin/item 0.6.12 → 0.6.13

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.
Files changed (2) hide show
  1. package/item.d.ts +3 -0
  2. package/package.json +1 -1
package/item.d.ts CHANGED
@@ -100,6 +100,9 @@ export interface ItemProxyChildren { [key: string]: ItemProxy<unknown, Item>; }
100
100
 
101
101
  export interface ItemProxyMethods<T = ItemValue,TRaw extends Item = Item> {
102
102
  readonly [$item]: TRaw;
103
+ // the proxy is callable, so TS would type these as Function members; at runtime they are children
104
+ readonly name: ItemProxy<unknown, Item>;
105
+ readonly length: ItemProxy<unknown, Item>;
103
106
  <TValue = T>(): TValue;
104
107
  (value: unknown): Promise<any> | undefined;
105
108
  then<TResult1 = T, TResult2 = never>(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nuxodin/item",
3
- "version": "0.6.12",
3
+ "version": "0.6.13",
4
4
  "description": "Reactive state library",
5
5
  "type": "module",
6
6
  "license": "MIT",