mobx 6.6.0 → 6.6.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.6.0",
3
+ "version": "6.6.1",
4
4
  "description": "Simple, scalable state management.",
5
5
  "source": "src/mobx.ts",
6
6
  "main": "dist/index.js",
@@ -206,7 +206,7 @@ const observableFactories: IObservableFactory = {
206
206
  const o = asCreateObservableOptions(options)
207
207
  return new ObservableSet<T>(initialValues, getEnhancerFromOptions(o), o.name)
208
208
  },
209
- object<T = any>(
209
+ object<T extends object = any>(
210
210
  props: T,
211
211
  decorators?: AnnotationsMap<T, never>,
212
212
  options?: CreateObservableOptions