The following code works flawless:
// validation-rules.ts export const requiredRule = (val: string) => !!val || \'Fi