1
0
mirror of https://github.com/robonen/tools.git synced 2026-03-20 10:54:44 +00:00

refactor(packages/vue): clean test names for UseLastChanged, add new imports

This commit is contained in:
2024-10-21 06:51:05 +07:00
parent 5722494458
commit cc439019e9
5 changed files with 19 additions and 7 deletions

View File

@@ -1,5 +1,7 @@
import { isRef, ref, toValue, type MaybeRefOrGetter, type MaybeRef, type Ref } from 'vue';
// TODO: wip
export interface UseToggleOptions<Enabled, Disabled> {
enabledValue?: MaybeRefOrGetter<Enabled>,
disabledValue?: MaybeRefOrGetter<Disabled>,