mobx-state-tree 5.1.5 → 5.1.6

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.
@@ -15,7 +15,7 @@ export interface IMSTArray<IT extends IAnyType> extends IObservableArray<IT["Typ
15
15
  unshift(...items: ExtractCSTWithSTN<IT>[]): number;
16
16
  }
17
17
  /** @hidden */
18
- export interface IArrayType<IT extends IAnyType> extends IType<IT["CreationType"][] | undefined, IT["SnapshotType"][], IMSTArray<IT>> {
18
+ export interface IArrayType<IT extends IAnyType> extends IType<readonly IT["CreationType"][] | undefined, IT["SnapshotType"][], IMSTArray<IT>> {
19
19
  hooks(hooks: IHooksGetter<IMSTArray<IAnyType>>): IArrayType<IT>;
20
20
  }
21
21
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mobx-state-tree",
3
- "version": "5.1.5",
3
+ "version": "5.1.6",
4
4
  "description": "Opinionated, transactional, MobX powered state container",
5
5
  "main": "dist/mobx-state-tree.js",
6
6
  "umd:main": "dist/mobx-state-tree.umd.js",
@@ -86,5 +86,5 @@
86
86
  "functional-reactive-programming",
87
87
  "state management"
88
88
  ],
89
- "gitHead": "b98129f89852b6680126e74f9ae3c58bf20d6cf2"
89
+ "gitHead": "6a50d79a114811b492b98c37b0bbb35d6c9d9155"
90
90
  }