Refactor form-dialog.vue to use Composition API #17

Manually merged
Johann150 merged 3 commits from :refactor/form-dialog into main 2022-07-21 19:17:47 +00:00
Owner
No description provided.
norm added 1 commit 2022-07-20 22:16:19 +00:00
Refactor form-dialog.vue to use Composition API
Some checks failed
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/lint-backend Pipeline was successful
ci/woodpecker/pr/lint-client Pipeline failed
ci/woodpecker/pr/test Pipeline failed
d29a0dad8f
norm added 1 commit 2022-07-20 22:17:28 +00:00
Johann150 reviewed 2022-07-20 23:00:10 +00:00
@ -89,1 +71,3 @@
},
const props = defineProps<{
title: string,
form: object,
Owner

I'm not sure object is a type in TypeScript. It is a thing but will cause errors as soon as you ty to access form. I would expect to see any or probably better Record<string, any> here.

~~I'm not sure `object` is a type in TypeScript.~~ It is a thing but will cause errors as soon as you ty to access `form`. I would expect to see `any` or probably better `Record<string, any>` here.
Author
Owner

Fixed

Fixed
norm marked this conversation as resolved
norm added 1 commit 2022-07-20 23:24:58 +00:00
form-dialog: use Record<string, any> for form prop
Some checks failed
ci/woodpecker/pr/lint-backend Pipeline was successful
ci/woodpecker/pr/build Pipeline was successful
ci/woodpecker/pr/lint-client Pipeline failed
ci/woodpecker/pr/test Pipeline failed
2d245d62cf
Johann150 manually merged commit fef2d9173e into main 2022-07-21 19:17:47 +00:00
norm referenced this pull request from a commit 2022-08-28 14:46:46 +00:00
Sign in to join this conversation.
No reviewers
No labels
feature
fix
upkeep
No milestone
No project
No assignees
2 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: FoundKeyGang/FoundKey#17
No description provided.