Skip to content

Commit

Permalink
Fix primefaces#6922: Autocomplete fix input passthrough TS (primeface…
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware committed Jul 25, 2024
1 parent c14a6df commit 43cd6cc
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions components/lib/autocomplete/autocomplete.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ import { CSSTransitionProps as ReactCSSTransitionProps } from 'react-transition-
import { ButtonPassThroughOptions } from '../button/button';
import { ComponentHooks } from '../componentbase/componentbase';
import { CSSTransitionProps } from '../csstransition';
import { InputText, InputTextPassThroughOptions } from '../inputtext/inputtext';
import { PassThroughOptions } from '../passthrough';
import { TooltipPassThroughOptions } from '../tooltip/tooltip';
import { TooltipOptions } from '../tooltip/tooltipoptions';
Expand Down Expand Up @@ -111,7 +112,7 @@ export interface AutoCompletePassThroughOptions {
/**
* Uses to pass attributes to the input's DOM element.
*/
input?: AutoCompletePassThroughType<React.HTMLAttributes<HTMLInputElement>>;
input?: InputTextPassThroughOptions;
/**
* Uses to pass attributes to the container's DOM element.
*/
Expand Down Expand Up @@ -592,9 +593,9 @@ export declare class AutoComplete extends React.Component<AutoCompleteProps, any
public getElement(): HTMLSpanElement;
/**
* Used to get input element.
* @return {HTMLInputElement} Input element
* @return {InputText} Input element
*/
public getInput(): HTMLInputElement;
public getInput(): typeof InputText;
/**
* Used to get overlay element.
* @return {HTMLElement} Overlay element
Expand Down

0 comments on commit 43cd6cc

Please sign in to comment.