mobx 6.4.0 → 6.4.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "mobx",
3
- "version": "6.4.0",
3
+ "version": "6.4.1",
4
4
  "description": "Simple, scalable state management.",
5
5
  "source": "src/mobx.ts",
6
6
  "main": "dist/index.js",
@@ -20,7 +20,7 @@ export function intercept<T>(
20
20
  handler: IInterceptor<IValueWillChange<T>>
21
21
  ): Lambda
22
22
  export function intercept<T>(
23
- observableArray: IObservableArray<T>,
23
+ observableArray: IObservableArray<T> | Array<T>,
24
24
  handler: IInterceptor<IArrayWillChange<T> | IArrayWillSplice<T>>
25
25
  ): Lambda
26
26
  export function intercept<K, V>(
@@ -20,7 +20,7 @@ export function observe<T>(
20
20
  fireImmediately?: boolean
21
21
  ): Lambda
22
22
  export function observe<T>(
23
- observableArray: IObservableArray<T>,
23
+ observableArray: IObservableArray<T> | Array<T>,
24
24
  listener: (change: IArrayDidChange<T>) => void,
25
25
  fireImmediately?: boolean
26
26
  ): Lambda