vona-core 5.0.60 → 5.0.61

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.
@@ -1,6 +1,6 @@
1
1
  export type FunctionAsync<RESULT> = () => Promise<RESULT>;
2
- export type Next = (data?: any) => Promise<any>;
3
- export type NextSync = (data?: any) => any;
4
- export type NextGeneral = (data?: any) => Promise<any> | any;
2
+ export type Next<DATA = any, RESULT = any> = (data?: DATA) => Promise<RESULT>;
3
+ export type NextSync<DATA = any, RESULT = any> = (data?: DATA) => RESULT;
4
+ export type NextGeneral<DATA = any, RESULT = any> = (data?: DATA) => Promise<RESULT> | RESULT;
5
5
  export declare const functionNoop: () => void;
6
6
  export type FunctionAny = (...args: any[]) => any;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vona-core",
3
3
  "type": "module",
4
- "version": "5.0.60",
4
+ "version": "5.0.61",
5
5
  "description": "vona",
6
6
  "publishConfig": {
7
7
  "access": "public"