apply migration with ts-migrate

This commit is contained in:
Thomas Ruoff
2020-08-26 23:17:11 +02:00
committed by Thomas Ruoff
parent be1e22460d
commit c3d8c6f3e0
7 changed files with 16 additions and 0 deletions

View File

@@ -38,6 +38,7 @@ export function dateFormatFrontend(date) {
function dateParse(string, format) {
const date = moment(string, format)
if (date.isValid()) {
// @ts-expect-error ts-migrate(2339) FIXME: Property 'getDate' does not exist on type 'Moment'... Remove this comment to see the full error message
return date.getDate()
}