auto formatting

This commit is contained in:
proddy
2021-05-07 10:15:29 +02:00
parent d15aa79d18
commit c6a40d2125
35 changed files with 633 additions and 570 deletions

View File

@@ -1,3 +1,4 @@
const OPTIONAL = (validator: (value: any) => boolean) => (value: any) => !value || validator(value);
const OPTIONAL = (validator: (value: any) => boolean) => (value: any) =>
!value || validator(value)
export default OPTIONAL;
export default OPTIONAL