mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-12 22:26:21 +08:00
5 lines
167 B
TypeScript
5 lines
167 B
TypeScript
![]() |
type ValidatorArg = object | undefined | null;
|
||
|
|
||
|
type ValidatorFunc = (obj: ValidatorArg) => (string | undefined);
|
||
|
|
||
|
type ValidatorMap = Record<string, ValidatorFunc[]>;
|