ether-admin/node_modules/ant-design-vue/lib/vc-select/hooks/useDelayReset.d.ts

7 lines
329 B
TypeScript

import type { Ref } from 'vue';
/**
* Similar with `useLock`, but this hook will always execute last value.
* When set to `true`, it will keep `true` for a short time even if `false` is set.
*/
export default function useDelayReset(timeout?: number): [Ref<Boolean>, (val: boolean, callback?: () => void) => void, () => void];