vue3-form-validation
Advanced tools
Comparing version 3.3.4 to 3.3.5
@@ -22,3 +22,3 @@ import { Ref, ComputedRef, UnwrapRef } from 'vue'; | ||
export declare type TransformedFormData<T extends object> = T extends any ? { | ||
[K in keyof T]: T[K] extends Field<infer TValue> | undefined ? T[K] extends undefined ? undefined : TransformedField<UnwrapRef<TValue>> : T[K] extends Record<string, unknown> | any[] ? TransformedFormData<T[K]> : T[K]; | ||
[K in keyof T]: T[K] extends Field<infer TValue> | undefined ? T[K] extends undefined ? undefined : TransformedField<UnwrapRef<TValue>> : T[K] extends object ? TransformedFormData<T[K]> : T[K]; | ||
} : never; | ||
@@ -28,5 +28,5 @@ export declare type FormData<T extends object> = T extends any ? { | ||
} : never; | ||
export declare type FieldNames<T> = T extends object ? { | ||
export declare type FieldNames<T> = T extends Record<string, unknown> ? { | ||
[K in keyof T]-?: T[K] extends Field<any> | undefined ? K : FieldNames<T[K]>; | ||
}[keyof T] : never; | ||
}[keyof T] : T extends (infer TArray)[] ? FieldNames<TArray> : never; | ||
export declare type Keys = readonly (string | number)[]; | ||
@@ -33,0 +33,0 @@ export declare type DeepIndex<T, Ks extends Keys, R = unknown> = Ks extends [ |
{ | ||
"name": "vue3-form-validation", | ||
"version": "3.3.4", | ||
"version": "3.3.5", | ||
"description": "Vue composition function for Form Validation", | ||
@@ -5,0 +5,0 @@ "author": { |
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
43569