Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

zustand-utils

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

zustand-utils - npm Package Compare versions

Comparing version 1.2.1 to 1.2.2

6

es/createStoreUpdater.d.ts
import { StoreApi } from 'zustand';
export declare const createStoreUpdater: <T>(storeApi: StoreApi<T>) => (key: keyof T, value: any, deps?: any[], setStoreState?: ((param: any) => void) | undefined) => void;
declare type WithoutCallSignature<T> = {
[K in keyof T]: T[K];
};
export declare const createStoreUpdater: <T>(storeApi: WithoutCallSignature<StoreApi<T>>) => (key: keyof T, value: any, deps?: any[], setStoreState?: ((param: any) => void) | undefined) => void;
export {};
import { StoreApi } from 'zustand';
export declare const createStoreUpdater: <T>(storeApi: StoreApi<T>) => (key: keyof T, value: any, deps?: any[], setStoreState?: ((param: any) => void) | undefined) => void;
declare type WithoutCallSignature<T> = {
[K in keyof T]: T[K];
};
export declare const createStoreUpdater: <T>(storeApi: WithoutCallSignature<StoreApi<T>>) => (key: keyof T, value: any, deps?: any[], setStoreState?: ((param: any) => void) | undefined) => void;
export {};

2

package.json
{
"name": "zustand-utils",
"version": "1.2.1",
"version": "1.2.2",
"description": "some utils for zustand",

@@ -5,0 +5,0 @@ "keywords": [

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc