feat: improve types #2368
Loading…
x
Reference in New Issue
Block a user
No description provided.
Delete Branch "dpschen/vikunja:fix/type-issues"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This improves several types and removes some typescript errors.
ec17bd8004
todecad1345d
Hi dpschen!
Thank you for creating a PR!
I've deployed the frontend changes of this PR on a preview environment under this URL: https://2368-fix-type-issues--vikunja-frontend-preview.netlify.app
You can use this url to view the changes live and test them out.
You will need to manually connect this to an api running somewhere. The easiest to use is https://try.vikunja.io/.
This preview does not contain any changes made to the api, only the frontend.
Have a nice day!
@ -1,4 +1,4 @@
export const DATEFNS_DATE_FORMAT_KEBAB = 'yyyy-LL-dd'
export const DATEFNS_DATE_FORMAT_KEBAB = 'yyyy-LL-dd' as const
Out of interest: What is the
as const
good for when the const is already declared as const?