Notes/apps/server/src/etapi/etapi-interface.ts
2025-04-22 17:16:41 +03:00

4 lines
127 B
TypeScript

export type ValidatorFunc = (obj: unknown) => string | undefined;
export type ValidatorMap = Record<string, ValidatorFunc[]>;