diff --git a/components/lib/textarea/Textarea.d.ts b/components/lib/textarea/Textarea.d.ts index 24eee9126..d68e6bcd3 100755 --- a/components/lib/textarea/Textarea.d.ts +++ b/components/lib/textarea/Textarea.d.ts @@ -10,7 +10,7 @@ import { TextareaHTMLAttributes } from 'vue'; import { ComponentHooks } from '../basecomponent'; import { PassThroughOptions } from '../passthrough'; -import { ClassComponent, GlobalComponentConstructor, PassThrough } from '../ts-helpers'; +import { ClassComponent, GlobalComponentConstructor, Nullable, PassThrough } from '../ts-helpers'; export declare type TextareaPassThroughOptionType = TextareaPassThroughAttributes | ((options: TextareaPassThroughMethodOptions) => TextareaPassThroughAttributes | string) | string | null | undefined; @@ -91,7 +91,7 @@ export interface TextareaProps extends TextareaHTMLAttributes { /** * Value of the component. */ - modelValue?: string | undefined; + modelValue?: Nullable; /** * When present, height of textarea changes as being typed. * @defaultValue false diff --git a/doc/common/apidoc/index.json b/doc/common/apidoc/index.json index 9854bbea8..7373c50af 100644 --- a/doc/common/apidoc/index.json +++ b/doc/common/apidoc/index.json @@ -51278,7 +51278,7 @@ "name": "modelValue", "optional": true, "readonly": false, - "type": "string", + "type": "Nullable", "default": "", "description": "Value of the component." },