@bgscore/react-core 0.0.14 → 0.0.15

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/dist/index.d.cts CHANGED
@@ -493,7 +493,7 @@ declare function createStore<T>(initialState: T): {
493
493
  };
494
494
 
495
495
  type TWithName<T> = {
496
- [K in keyof T]: T[K] extends (...args: any[]) => any ? T[K] & {
496
+ [K in keyof T]: T[K] extends (...args: infer Args) => infer R ? ((...args: Args) => R) & {
497
497
  __path: string;
498
498
  } : T[K] extends object ? TWithName<T[K]> : T[K];
499
499
  };
package/dist/index.d.ts CHANGED
@@ -493,7 +493,7 @@ declare function createStore<T>(initialState: T): {
493
493
  };
494
494
 
495
495
  type TWithName<T> = {
496
- [K in keyof T]: T[K] extends (...args: any[]) => any ? T[K] & {
496
+ [K in keyof T]: T[K] extends (...args: infer Args) => infer R ? ((...args: Args) => R) & {
497
497
  __path: string;
498
498
  } : T[K] extends object ? TWithName<T[K]> : T[K];
499
499
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bgscore/react-core",
3
- "version": "0.0.14",
3
+ "version": "0.0.15",
4
4
  "description": "A React utility library that provides advanced API hooks (fetch, mutation, caching). Built for scalable and flexible data handling in modern React applications.",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.js",