react-better-html 1.1.47 → 1.1.48

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.
@@ -47,7 +47,7 @@ export declare function useBooleanState(initialValue?: boolean): [
47
47
  }
48
48
  ];
49
49
  export declare function useDebounceState<Value>(initialValue: Value, delay?: number): [value: Value, debouncedValue: Value, setValue: React.Dispatch<React.SetStateAction<Value>>, isLoading: boolean];
50
- export declare function useForm<FormFields extends Record<string, string | number | boolean | undefined>>(options: {
50
+ export declare function useForm<FormFields extends Record<string | number, string | number | boolean | undefined>>(options: {
51
51
  defaultValues: FormFields;
52
52
  requiredFields?: (keyof FormFields)[];
53
53
  onSubmit?: (values: FormFields) => void | Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-better-html",
3
- "version": "1.1.47",
3
+ "version": "1.1.48",
4
4
  "description": "A component library for react that is as close to plane html as possible",
5
5
  "main": "dist/index.js",
6
6
  "files": [