zustand-utils
Advanced tools
Comparing version 1.2.3 to 1.2.4
@@ -12,4 +12,4 @@ import { StoreApi } from 'zustand'; | ||
*/ | ||
export declare type UseStoreUpdater<T> = (key: keyof T, value: any, deps: any[], setStateFn?: (state: T) => void) => void; | ||
export declare type UseStoreUpdater<T> = (key: keyof T, value: any, deps?: any[], setStateFn?: (state: T) => void) => void; | ||
export declare const createStoreUpdater: <T>(storeApi: WithoutCallSignature<StoreApi<T>>) => UseStoreUpdater<T>; | ||
export {}; |
@@ -12,4 +12,4 @@ import { StoreApi } from 'zustand'; | ||
*/ | ||
export declare type UseStoreUpdater<T> = (key: keyof T, value: any, deps: any[], setStateFn?: (state: T) => void) => void; | ||
export declare type UseStoreUpdater<T> = (key: keyof T, value: any, deps?: any[], setStateFn?: (state: T) => void) => void; | ||
export declare const createStoreUpdater: <T>(storeApi: WithoutCallSignature<StoreApi<T>>) => UseStoreUpdater<T>; | ||
export {}; |
{ | ||
"name": "zustand-utils", | ||
"version": "1.2.3", | ||
"version": "1.2.4", | ||
"description": "some utils for zustand", | ||
@@ -68,3 +68,3 @@ "keywords": [ | ||
"@umijs/lint": "^4", | ||
"@vitest/coverage-c8": "latest", | ||
"@vitest/coverage-v8": "latest", | ||
"antd": "^5", | ||
@@ -71,0 +71,0 @@ "commitlint": "^17", |
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
30991