chore: convert ShowTasks component to script setup and ts

This commit is contained in:
kolaente 2022-02-06 16:04:49 +01:00
parent 6c0d091e36
commit bcd34efe91
Signed by untrusted user who does not match committer: konrad
GPG key ID: F40E70337AB24C9B
2 changed files with 158 additions and 172 deletions

View file

@ -1,4 +1,4 @@
export function parseDateOrString(rawValue: string, fallback: any) {
export function parseDateOrString(rawValue: string, fallback: any): string | Date {
if (typeof rawValue === 'undefined') {
return fallback
}