jk-vue-comps 0.1.15 → 0.1.16

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,2 +1,2 @@
1
1
  import type { Ref, ComputedRef } from 'vue';
2
- export declare function useFormKeypressEnter(fn: (...args: any[]) => any, loading: Ref<boolean> | ComputedRef<boolean> | (() => boolean)): (...args: any[]) => any;
2
+ export declare function useFormKeypressEnter<T extends (...args: any[]) => any, L extends Ref<boolean> | ComputedRef<boolean> | (() => boolean)>(fn: T, loading: L): (...args: any[]) => any;
package/dist/index.d.ts CHANGED
@@ -93,8 +93,8 @@ declare const JKVUEComps: {
93
93
  copyTextToClipboard(input: string, { target }?: {
94
94
  target?: HTMLElement | undefined;
95
95
  }): boolean;
96
- useFormKeypressEnter(fn: (...args: any[]) => any, loading: import("vue").Ref<boolean> | import("vue").ComputedRef<boolean> | (() => boolean)): (...args: any[]) => any;
97
- useMemo<T_8>(getValue: () => T_8, condition: (object | import("vue").WatchSource<unknown>)[], shouldUpdate?: ((prev: any[], next: any[]) => boolean) | undefined): import("vue").Ref<T_8>;
96
+ useFormKeypressEnter<T_8 extends (...args: any[]) => any, L extends import("vue").Ref<boolean> | import("vue").ComputedRef<boolean> | (() => boolean)>(fn: T_8, loading: L): (...args: any[]) => any;
97
+ useMemo<T_9>(getValue: () => T_9, condition: (object | import("vue").WatchSource<unknown>)[], shouldUpdate?: ((prev: any[], next: any[]) => boolean) | undefined): import("vue").Ref<T_9>;
98
98
  toGoogleAuth(clientId: string, redirectUri: string): void;
99
99
  GoogleAuth: {
100
100
  new (...args: any[]): import("vue").CreateComponentPublicInstance<Readonly<import("vue").ExtractPropTypes<{
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jk-vue-comps",
3
- "version": "0.1.15",
3
+ "version": "0.1.16",
4
4
  "description": "jk-vue-comps",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",