mirror of
https://github.com/CorentinTh/it-tools.git
synced 2026-06-05 05:35:22 -04:00
refactor(dx): generic data transformer
This commit is contained in:
committed by
Corentin THOMASSET
parent
9fa4c26929
commit
05f06f6a07
@@ -3,7 +3,7 @@ import { reactive, watch, type Ref } from 'vue';
|
||||
|
||||
type ValidatorReturnType = unknown;
|
||||
|
||||
interface UseValidationRule<T> {
|
||||
export interface UseValidationRule<T> {
|
||||
validator: (value: T) => ValidatorReturnType;
|
||||
message: string;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user