From d397280a2202432359d76b7466af841f5c51cf68 Mon Sep 17 00:00:00 2001 From: tugcekucukoglu Date: Thu, 21 Nov 2024 15:38:10 +0300 Subject: [PATCH] Fixed #5480 --- packages/primevue/src/inputtext/InputText.d.ts | 4 ++-- packages/primevue/src/password/Password.d.ts | 2 +- packages/primevue/src/textarea/Textarea.d.ts | 5 ++--- 3 files changed, 5 insertions(+), 6 deletions(-) diff --git a/packages/primevue/src/inputtext/InputText.d.ts b/packages/primevue/src/inputtext/InputText.d.ts index b416f9b67..13c12c0ef 100755 --- a/packages/primevue/src/inputtext/InputText.d.ts +++ b/packages/primevue/src/inputtext/InputText.d.ts @@ -10,7 +10,7 @@ import type { DefineComponent, DesignToken, EmitFn, Nullable, PassThrough } from '@primevue/core'; import type { ComponentHooks } from '@primevue/core/basecomponent'; import type { PassThroughOptions } from 'primevue/passthrough'; -import { InputHTMLAttributes } from 'vue'; +import 'vue'; export declare type InputTextPassThroughOptionType = InputTextPassThroughAttributes | ((options: InputTextPassThroughMethodOptions) => InputTextPassThroughAttributes | string) | string | null | undefined; @@ -82,7 +82,7 @@ export interface InputTextContext { /** * Defines valid properties in InputText component. */ -export interface InputTextProps extends InputHTMLAttributes { +export interface InputTextProps { /** * Value of the component. */ diff --git a/packages/primevue/src/password/Password.d.ts b/packages/primevue/src/password/Password.d.ts index fa6345a5f..f96e65611 100755 --- a/packages/primevue/src/password/Password.d.ts +++ b/packages/primevue/src/password/Password.d.ts @@ -169,7 +169,7 @@ export interface PasswordMeterStateOptions { /** * Defines valid properties in Password component. */ -export interface PasswordProps extends InputHTMLAttributes { +export interface PasswordProps { /** * Value of the component. */ diff --git a/packages/primevue/src/textarea/Textarea.d.ts b/packages/primevue/src/textarea/Textarea.d.ts index 7429ee76a..1741fee3b 100755 --- a/packages/primevue/src/textarea/Textarea.d.ts +++ b/packages/primevue/src/textarea/Textarea.d.ts @@ -10,7 +10,7 @@ import type { DefineComponent, DesignToken, EmitFn, Nullable, PassThrough } from '@primevue/core'; import type { ComponentHooks } from '@primevue/core/basecomponent'; import type { PassThroughOptions } from 'primevue/passthrough'; -import { TextareaHTMLAttributes } from 'vue'; +import 'vue'; export declare type TextareaPassThroughOptionType = TextareaPassThroughAttributes | ((options: TextareaPassThroughMethodOptions) => TextareaPassThroughAttributes | string) | string | null | undefined; @@ -85,9 +85,8 @@ export interface TextareaContext { /** * Defines valid properties in Textarea component. In addition to these, all properties of TextareaHTMLAttributes can be used in this component. - * @extends TextareaHTMLAttributes */ -export interface TextareaProps extends TextareaHTMLAttributes { +export interface TextareaProps { /** * Value of the component. */