@bigbinary/neeto-commons-frontend 2.0.67 → 2.0.69

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/react-utils.d.ts CHANGED
@@ -396,9 +396,8 @@ type ZustandConfigType = (set: (data: any) => void, get: () => any, api: any) =>
396
396
  * @endexample
397
397
  */
398
398
  export function withImmutableActions(config: ZustandConfigType): ZustandConfigType;
399
- export declare type ZustandStoreHook = {
400
- (selector: (state: any) => any, comparator?: (a: any, b: any) => boolean): any;
401
- (): any;
399
+ export declare type ZustandStoreHook = UseBoundStore<StoreApi<any>> & {
400
+ pick: (path?: string | string[]) => any;
402
401
  };
403
402
  /**
404
403
  *