Notes/src/etapi/etapi-interface.ts

5 lines
176 B
TypeScript
Raw Normal View History

2024-04-17 22:24:27 +03:00
type ValidatorArg = object | string | undefined | null;
2024-04-07 15:13:34 +03:00
type ValidatorFunc = (obj: ValidatorArg) => (string | undefined);
type ValidatorMap = Record<string, ValidatorFunc[]>;