server: Fix build errors after updating to latest TypeScript

This commit is contained in:
Elian Doran
2024-07-16 21:43:04 +03:00
parent 9fdb7b29de
commit c0b3c8496e
12 changed files with 17 additions and 7 deletions

View File

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