fix: eslint fixes and file formatting

This commit is contained in:
sriram veeraghanta 2024-03-19 20:08:35 +05:30
parent 473dfc7a5b
commit 53ddef1cd5
954 changed files with 3921 additions and 3809 deletions

View file

@ -204,7 +204,7 @@ export const checkIfDatesAreEqual = (
/**
* This method returns a date from string of type yyyy-mm-dd
* This method is recommended to use instead of new Date() as this does not introduce any timezone offsets
* @param date
* @param date
* @returns date or undefined
*/
export const getDate = (date: string | Date | undefined | null): Date | undefined => {
@ -218,4 +218,4 @@ export const getDate = (date: string | Date | undefined | null): Date | undefine
if (!isNumber(year) || !isNumber(month) || !isNumber(day)) return;
return new Date(year, month - 1, day);
};
};