react-hook-core 0.4.17 → 0.4.18
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/package.json +1 -1
- package/src/search.ts +1 -1
package/package.json
CHANGED
package/src/search.ts
CHANGED
|
@@ -141,7 +141,7 @@ export function initFilter<S extends Filter>(m: S, com: Searchable): S {
|
|
|
141
141
|
return m
|
|
142
142
|
}
|
|
143
143
|
|
|
144
|
-
export function getFields(form?: HTMLFormElement, arr?: string[]): string[] | undefined {
|
|
144
|
+
export function getFields(form?: HTMLFormElement | null, arr?: string[]): string[] | undefined {
|
|
145
145
|
if (arr && arr.length > 0) {
|
|
146
146
|
return arr
|
|
147
147
|
}
|