-
Notifications
You must be signed in to change notification settings - Fork 12
refactor: enable TypeScript 5.9 recommended options #266
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from 7 commits
e0ffe75
8205fb3
a754474
6b71f81
942e35b
3cf7229
3ff5b39
aea08ab
f84b213
34412fe
7903002
b11e35f
631aeb8
7a9a770
d4b6bcc
a0da871
73db8fe
582a4db
7bbb2e2
35fa1c1
5a68420
40e5d71
7002d45
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -85,8 +85,8 @@ const removeAll = () => { | |
| <Checkbox | ||
| v-for="label in labels" | ||
| :key="label" | ||
| v-bind="noWidth ? { noWidth: true } : {}" | ||
|
||
| :value="label" | ||
| :no-width="noWidth" | ||
| > | ||
| {{ label }} | ||
| </Checkbox> | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
不要用 v-bind
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@copilot 不要用 v-bind
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixed in commit [hash]. Changed from
v-bind="name ? { name } : {}"to:name="name". Since thenameprop is optional in the Avatar component, direct binding works correctly withexactOptionalPropertyTypes: true.Build and lint both pass with 0 errors.