diff --git a/types/index.d.ts b/types/index.d.ts index aebdcac..e97d5c3 100644 --- a/types/index.d.ts +++ b/types/index.d.ts @@ -173,6 +173,13 @@ declare namespace Choices { noChoices?: string; } + interface passedElement { + classNames: Choices.ClassNames, + element: HTMLElement, + isDisabled: boolean, + parentInstance: Choices; + } + /** * Choices options interface * @@ -660,8 +667,7 @@ export default class Choices { currentValue: string; // Element - element: HTMLElement - passedElement: HTMLElement; + passedElement: Choices.passedElement; // Checks isTextElement: boolean;