@tanstack/form-core
Advanced tools
Comparing version 0.22.0 to 0.23.0
@@ -7,1 +7,2 @@ export * from './FormApi.js'; | ||
export * from './mergeForm.js'; | ||
export * from './formOptions.js'; |
@@ -5,2 +5,3 @@ import { FormApi } from "./FormApi.js"; | ||
import { mergeForm, mutateMergeDeep } from "./mergeForm.js"; | ||
import { formOptions } from "./formOptions.js"; | ||
export { | ||
@@ -10,2 +11,3 @@ FieldApi, | ||
deleteBy, | ||
formOptions, | ||
functionalUpdate, | ||
@@ -12,0 +14,0 @@ getAsyncValidatorArray, |
import { FormApi } from './FormApi.js'; | ||
import { Validator } from './types.js'; | ||
import { NoInfer } from './util-types.js'; | ||
export declare function mutateMergeDeep(target: object, source: object): object; | ||
export declare function mergeForm<TFormData, TFormValidator extends Validator<TFormData, unknown> | undefined = undefined>(baseForm: FormApi<TFormData, TFormValidator>, state: Partial<FormApi<TFormData, TFormValidator>['state']>): FormApi<TFormData, TFormValidator>; | ||
export declare function mergeForm<TFormData, TFormValidator extends Validator<TFormData, unknown> | undefined = undefined>(baseForm: FormApi<NoInfer<TFormData>, NoInfer<TFormValidator>>, state: Partial<FormApi<TFormData, TFormValidator>['state']>): FormApi<NoInfer<TFormData>, NoInfer<TFormValidator>>; |
{ | ||
"name": "@tanstack/form-core", | ||
"version": "0.22.0", | ||
"version": "0.23.0", | ||
"description": "Powerful, type-safe, framework agnostic forms.", | ||
@@ -5,0 +5,0 @@ "author": "tannerlinsley", |
@@ -7,1 +7,2 @@ export * from './FormApi' | ||
export * from './mergeForm' | ||
export * from './formOptions' |
import type { FormApi } from './FormApi' | ||
import type { Validator } from './types' | ||
import type { NoInfer } from './util-types' | ||
@@ -37,3 +38,3 @@ export function mutateMergeDeep(target: object, source: object): object { | ||
>( | ||
baseForm: FormApi<TFormData, TFormValidator>, | ||
baseForm: FormApi<NoInfer<TFormData>, NoInfer<TFormValidator>>, | ||
state: Partial<FormApi<TFormData, TFormValidator>['state']>, | ||
@@ -40,0 +41,0 @@ ) { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
430250
58
7375