diff --git a/packages/primevue/src/image/Image.d.ts b/packages/primevue/src/image/Image.d.ts index 08cdc465f1..767b3f869e 100644 --- a/packages/primevue/src/image/Image.d.ts +++ b/packages/primevue/src/image/Image.d.ts @@ -171,6 +171,10 @@ export interface ImageState { * Defines valid properties in Image component. */ export interface ImageProps { + /** + * Image url. + */ + src?: string | undefined; /** * Controls the preview functionality. * @defaultValue false diff --git a/packages/primevue/src/textarea/Textarea.d.ts b/packages/primevue/src/textarea/Textarea.d.ts index 9ceeb6805e..a9a6e17ec9 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 { InputHTMLAttributes } from 'vue'; +import type { TextareaHTMLAttributes } from 'vue'; export declare type TextareaPassThroughOptionType = TextareaPassThroughAttributes | ((options: TextareaPassThroughMethodOptions) => TextareaPassThroughAttributes | string) | string | null | undefined; @@ -86,7 +86,7 @@ export interface TextareaContext { /** * Defines valid properties in Textarea component. In addition to these, all properties of TextareaHTMLAttributes can be used in this component. */ -export interface TextareaProps extends Omit { +export interface TextareaProps extends TextareaHTMLAttributes { /** * Value of the component. */