server-ts: Address review

This commit is contained in:
Elian Doran 2024-04-17 22:24:27 +03:00
parent 138be84e45
commit c814187a25
No known key found for this signature in database

View File

@ -1,4 +1,4 @@
type ValidatorArg = object | undefined | null;
type ValidatorArg = object | string | undefined | null;
type ValidatorFunc = (obj: ValidatorArg) => (string | undefined);