-
Notifications
You must be signed in to change notification settings - Fork 14
refactor(typescript): prevent any #5470
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 all commits
76f9042
a9063de
d406427
d4d71ec
7d74023
608c713
9c09a53
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 | ||||
|---|---|---|---|---|---|---|
| @@ -1,5 +1,6 @@ | ||||||
| import { | ||||||
| BaseFormProps, | ||||||
| ChangeEvent, | ||||||
| ClickEvent, | ||||||
| CloseEventState, | ||||||
| CustomFormProps, | ||||||
|
|
@@ -8,6 +9,7 @@ import { | |||||
| FormState, | ||||||
| FromValidState, | ||||||
| GeneralEvent, | ||||||
| GeneralKeyboardEvent, | ||||||
| GlobalProps, | ||||||
| GlobalState, | ||||||
| IconProps, | ||||||
|
|
@@ -282,15 +284,19 @@ export type DBCustomSelectDefaultState = { | |||||
| ) => void; | ||||||
| handleSummaryFocus: () => void; | ||||||
| handleSelect: (value?: string) => void; | ||||||
| handleSelectAll: (event: any) => void; | ||||||
| handleClearAll: (event: any) => void; | ||||||
| handleDropdownToggle: (event: any) => void; | ||||||
| handleDocumentClose: (event: any) => void; | ||||||
| handleSelectAll: (event: ChangeEvent<HTMLInputElement>) => void; | ||||||
| handleClearAll: (event: ClickEvent<HTMLButtonElement>) => void; | ||||||
|
||||||
| handleDropdownToggle: (event: GeneralEvent<HTMLDetailsElement>) => void; | ||||||
| handleDocumentClose: (event: GeneralEvent<HTMLElement>) => void; | ||||||
|
||||||
| handleDocumentClose: (event: GeneralEvent<HTMLElement>) => void; | |
| handleDocumentClose: (event: CustomEvent<any> | Event) => void; |
Copilot
AI
Dec 9, 2025
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.
The type signature for handleArrowDownUp has been updated in model.ts, but the implementation on line 288 still uses any. Please update the implementation to match the new type:
handleArrowDownUp: (event: GeneralKeyboardEvent<HTMLElement>) => {
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.
The type signature for
handleSelectAllhas been updated in model.ts, but the implementation on line 529 still usesany. Please update the implementation to match the new type: