Skip to content

Commit

Permalink
chore: add missing TS types
Browse files Browse the repository at this point in the history
  • Loading branch information
ghiscoding committed Nov 10, 2023
1 parent 028a2a9 commit c2a75f1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion lib/src/interfaces/interfaces.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,6 @@ export interface HtmlStruct {
export interface OptionRowData {
text: string;
value: string | number | boolean;
html?: HTMLElement;
classes?: string;
divider?: string;
disabled?: boolean;
Expand Down
6 changes: 3 additions & 3 deletions lib/src/interfaces/multipleSelectOption.interface.ts
Original file line number Diff line number Diff line change
Expand Up @@ -193,10 +193,10 @@ export interface MultipleSelectOption extends MultipleSelectLocale {
styler: (value: OptionRowData | OptGroupRowData) => string | boolean | null;

/** Returns HTML label attribute of a DOM element */
labelTemplate: (elm: any) => string;
labelTemplate: (elm: HTMLOptionElement) => string;

/** Returns HTML text template of a DOM element */
textTemplate: (elm: any) => string;
/** Returns HTML text template of a DOM element as a string */
textTemplate: (elm: HTMLOptionElement) => string;

// --
// Events
Expand Down

0 comments on commit c2a75f1

Please sign in to comment.