-const require: any = (value: string, errorMessage = ERROR_MESSAGE) => {
- return value && value.toString().length > 0 ? undefined : ERROR_MESSAGE;
+export const require: any = (value: string) => {
+ return value && value.length > 0 ? undefined : ERROR_MESSAGE;