first commit
This commit is contained in:
8
node_modules/@vant/use/dist/useCustomFieldValue/index.d.ts
generated
vendored
Normal file
8
node_modules/@vant/use/dist/useCustomFieldValue/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
import { InjectionKey, Ref } from 'vue';
|
||||
export type CustomFieldInjectionValue = {
|
||||
customValue: Ref<(() => unknown) | undefined>;
|
||||
resetValidation: () => void;
|
||||
validateWithTrigger: (trigger: 'onBlur' | 'onChange' | 'onSubmit') => void;
|
||||
};
|
||||
export declare const CUSTOM_FIELD_INJECTION_KEY: InjectionKey<CustomFieldInjectionValue>;
|
||||
export declare function useCustomFieldValue(customValue: () => unknown): void;
|
||||
Reference in New Issue
Block a user