| import { FieldReact, FormReact } from '../plugin/plugin.ts'; | ||
| type DepsArr = (string | FieldReact)[]; | ||
| type Deps = DepsArr | ((form: FormReact) => DepsArr); | ||
| export declare function useFields(deps?: Deps, customForm?: FormReact): any; | ||
| export declare function useFields(deps?: Deps, customForm?: FormReact): FieldReact[]; | ||
| export {}; |
| import { FormReact } from '../plugin/plugin.ts'; | ||
| export declare function useFormValid(customForm?: FormReact): any; | ||
| export declare function useFormValid(customForm?: FormReact): boolean; |
@@ -5,3 +5,3 @@ type Get<TValue = any> = () => TValue; | ||
| export type Subscribe<TValue = any> = (cb: Cb<TValue>) => Unsubscribe; | ||
| export declare function useSubscribe(get: Get, subscribe: Subscribe): any; | ||
| export declare function useSubscribe<TGet extends Get = Get>(get: TGet, subscribe: Subscribe): ReturnType<TGet>; | ||
| export {}; |
+1
-1
| { | ||
| "name": "ffw-react", | ||
| "version": "1.1.4", | ||
| "version": "1.1.5", | ||
| "description": "", | ||
@@ -5,0 +5,0 @@ "type": "module", |
AI-detected possible typosquat
Supply chain riskAI has identified this package as a potential typosquat of a more popular package. This suggests that the package may be intentionally mimicking another package's name, description, or other metadata.
5401
0.95%1
Infinity%