fix: solve modDatetime type errors

Update modDatetime props type to have null type for components that have modDatetime as props.
This commit is contained in:
satnaing
2024-01-05 10:31:44 +06:30
committed by Sat Naing
parent c3567896fb
commit d929ce1fef
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ import { LOCALE } from "@config";
interface DatetimesProps {
pubDatetime: string | Date;
modDatetime: string | Date | undefined;
modDatetime: string | Date | undefined | null;
}
interface Props extends DatetimesProps {