Skip to content

Commit

Permalink
Fix primefaces#3635: InputTextarea/InputText proper typescript def
Browse files Browse the repository at this point in the history
  • Loading branch information
melloware committed Nov 14, 2022
1 parent 7ea2d47 commit 958b7ef
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
4 changes: 1 addition & 3 deletions components/lib/inputtext/inputtext.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,4 @@ export interface InputTextProps extends Omit<React.DetailedHTMLProps<React.Input
onInput?(event: React.FormEvent<HTMLInputElement>, validatePattern: boolean): void;
}

export declare class InputText extends React.Component<InputTextProps, any> {
//value?: string;
}
export declare const InputText: React.ForwardRefExoticComponent<InputTextProps & React.RefAttributes<HTMLInputElement>>;
4 changes: 1 addition & 3 deletions components/lib/inputtextarea/inputtextarea.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,4 @@ export interface InputTextareaProps extends Omit<React.DetailedHTMLProps<React.T
tooltipOptions?: TooltipOptions;
}

export declare class InputTextarea extends React.Component<InputTextareaProps, any> {
value?: string;
}
export declare const InputTextarea: React.ForwardRefExoticComponent<InputTextareaProps & React.RefAttributes<HTMLTextAreaElement>>;

0 comments on commit 958b7ef

Please sign in to comment.