mobx-react-lite
Advanced tools
Comparing version 3.1.7 to 3.2.0
# mobx-react-lite | ||
## 3.2.0 | ||
### Patch Changes | ||
- Updated dependencies [[`28f8a11d`](https://github.com/mobxjs/mobx/commit/28f8a11d8b94f1aca2eec4ae9c5f45c5ea2f4362)]: | ||
- mobx@6.1.0 | ||
## 3.1.7 | ||
@@ -4,0 +11,0 @@ |
@@ -1,1 +0,1 @@ | ||
export declare function useAsObservableSource<TSource>(current: TSource): TSource; | ||
export declare function useAsObservableSource<TSource extends object>(current: TSource): TSource; |
{ | ||
"name": "mobx-react-lite", | ||
"version": "3.1.7", | ||
"version": "3.2.0", | ||
"description": "Lightweight React bindings for MobX based on React 16.8+ and Hooks", | ||
@@ -41,3 +41,3 @@ "source": "src/index.ts", | ||
"peerDependencies": { | ||
"mobx": "^6.0.5", | ||
"mobx": "^6.1.0", | ||
"react": "^16.8.0 || ^17" | ||
@@ -54,3 +54,3 @@ }, | ||
"devDependencies": { | ||
"mobx": "^6.0.5", | ||
"mobx": "^6.1.0", | ||
"expose-gc": "^1.0.0" | ||
@@ -57,0 +57,0 @@ }, |
@@ -5,3 +5,3 @@ import { useDeprecated } from "./utils/utils" | ||
export function useAsObservableSource<TSource>(current: TSource): TSource { | ||
export function useAsObservableSource<TSource extends object>(current: TSource): TSource { | ||
if ("production" !== process.env.NODE_ENV) | ||
@@ -8,0 +8,0 @@ useDeprecated( |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
468776