Skip to content

Commit 7d74023

Browse files
mfranzkeCopilot
andauthored
Apply suggestions from code review
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent d4d71ec commit 7d74023

File tree

1 file changed

+3
-3
lines changed
  • packages/components/src/components/custom-select

1 file changed

+3
-3
lines changed

packages/components/src/components/custom-select/model.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -286,14 +286,14 @@ export type DBCustomSelectDefaultState = {
286286
handleSelectAll: (event: any) => void;
287287
handleClearAll: (event: any) => void;
288288
handleDropdownToggle: (event: any) => void;
289-
handleDocumentClose: (event: any) => void;
289+
handleDocumentClose: (event: GeneralEvent<HTMLElement>) => void;
290290
handleOpenByKeyboardFocus: () => void;
291291
handleFocusFirstDropdownCheckbox: (activeElement?: Element) => void;
292292
handleKeyboardPress: (
293293
event: GeneralKeyboardEvent<HTMLDetailsElement>
294294
) => void;
295-
handleArrowDownUp: (event: any) => void;
296-
handleSearch: (event: any) => void;
295+
handleArrowDownUp: (event: GeneralKeyboardEvent<HTMLElement>) => void;
296+
handleSearch: (valueOrEvent?: InputEvent<HTMLInputElement> | string | void) => void;
297297
handleOptionSelected: (_values: string[]) => void;
298298
getSelectAllLabel: () => string;
299299
selectAllChecked: boolean;

0 commit comments

Comments
 (0)