added types

This commit is contained in:
Alaev
2023-01-05 19:51:06 +02:00
parent 046009ec8c
commit 8f21aaa4d1
2 changed files with 4 additions and 4 deletions

View File

@ -1,6 +1,5 @@
/* eslint-disable no-mixed-spaces-and-tabs */
/** */
export const getFormattedDate = (date) =>
export const getFormattedDate = (date: Date) =>
date
? new Date(date).toLocaleDateString('en-us', {
year: 'numeric',