@jbrowse/mobx-state-tree 5.10.0 → 5.10.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/dist/index.d.ts
CHANGED
|
@@ -1501,6 +1501,8 @@ declare function snapshotProcessor<IT extends IAnyType, CustomC = _NotCustomized
|
|
|
1501
1501
|
/** @hidden */
|
|
1502
1502
|
interface IMapType<IT extends IAnyType> extends IType<IKeyValueMap<IT["CreationType"]> | undefined, IKeyValueMap<IT["SnapshotType"]>, IMSTMap<IT>> {
|
|
1503
1503
|
hooks(hooks: IHooksGetter<IMSTMap<IT>>): IMapType<IT>;
|
|
1504
|
+
/** the value type of the map */
|
|
1505
|
+
getChildType(): IAnyType;
|
|
1504
1506
|
}
|
|
1505
1507
|
/** @hidden */
|
|
1506
1508
|
interface IMSTMap<IT extends IAnyType> {
|
|
@@ -1583,6 +1585,8 @@ interface IMSTArray<IT extends IAnyType> extends IObservableArray<IT["Type"]> {
|
|
|
1583
1585
|
/** @hidden */
|
|
1584
1586
|
interface IArrayType<IT extends IAnyType> extends IType<readonly IT["CreationType"][] | undefined, IT["SnapshotType"][], IMSTArray<IT>> {
|
|
1585
1587
|
hooks(hooks: IHooksGetter<IMSTArray<IAnyType>>): IArrayType<IT>;
|
|
1588
|
+
/** the element type of the array */
|
|
1589
|
+
getChildType(): IAnyType;
|
|
1586
1590
|
}
|
|
1587
1591
|
/**
|
|
1588
1592
|
* `types.array` - Creates an index based collection type who's children are all of a uniform declared type.
|