@rematch/select
Advanced tools
Comparing version 3.0.0-next.1 to 3.0.0-next.2
@@ -6,2 +6,13 @@ # Change Log | ||
# [3.0.0-next.2](https://github.com/rematch/rematch/compare/@rematch/select@3.0.0-next.1...@rematch/select@3.0.0-next.2) (2020-08-19) | ||
### Bug Fixes | ||
* typescript types inference & documentation ([178be27](https://github.com/rematch/rematch/commit/178be27a55753f16bb0c31ed08ab9f8dc2175d4b)) | ||
# 3.0.0-next.1 (2020-07-30) | ||
@@ -8,0 +19,0 @@ |
@@ -27,6 +27,6 @@ import { Models, RematchRootState } from '@rematch/core'; | ||
declare module '@rematch/core' { | ||
interface Model<TState = any, TBaseState = TState, AllModelsKeys extends string = string> { | ||
interface Model<TModels = Models, TState = any, TBaseState = TState, AllModelsKeys extends string = string> { | ||
selectors?: ModelSelectorsConfig<TState>; | ||
} | ||
interface RematchStore<TModels extends Models> { | ||
interface RematchStore<TModels> { | ||
select: RematchSelect<TModels, RematchRootState<TModels>>; | ||
@@ -33,0 +33,0 @@ } |
{ | ||
"name": "@rematch/select", | ||
"version": "3.0.0-next.1", | ||
"version": "3.0.0-next.2", | ||
"description": "Selectors plugin for Rematch", | ||
@@ -30,3 +30,3 @@ "homepage": "https://rematch.github.io/rematch", | ||
"devDependencies": { | ||
"@rematch/core": "^2.0.0-next.1" | ||
"@rematch/core": "^2.0.0-next.2" | ||
}, | ||
@@ -57,3 +57,3 @@ "peerDependencies": { | ||
}, | ||
"gitHead": "1e3f4c96b7271edea9151a9d524dddfbb1591484" | ||
"gitHead": "4025cbde76fe590afde9670456b45104dba0e037" | ||
} |
@@ -70,2 +70,3 @@ // Type definitions for @rematch/select 3.0.0 | ||
interface Model< | ||
TModels = Models, | ||
TState = any, | ||
@@ -78,5 +79,5 @@ TBaseState = TState, | ||
interface RematchStore<TModels extends Models> { | ||
interface RematchStore<TModels> { | ||
select: RematchSelect<TModels, RematchRootState<TModels>> | ||
} | ||
} |
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
69080
653
0