diff --git a/src/components/inputtext/InputText.d.ts b/src/components/inputtext/InputText.d.ts index ad025b845..afe880f98 100755 --- a/src/components/inputtext/InputText.d.ts +++ b/src/components/inputtext/InputText.d.ts @@ -1,11 +1,11 @@ import { InputHTMLAttributes } from 'vue'; -import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; +import { ClassComponent, GlobalComponentConstructor, Nullable } from '../ts-helpers'; export interface InputTextProps extends InputHTMLAttributes { /** * Value of the component. */ - modelValue?: string | undefined; + modelValue?: Nullable; } export interface InputTextSlots { diff --git a/src/components/password/Password.d.ts b/src/components/password/Password.d.ts index 10d4a8353..eeaf7a6c9 100755 --- a/src/components/password/Password.d.ts +++ b/src/components/password/Password.d.ts @@ -1,5 +1,5 @@ import { VNode, InputHTMLAttributes } from 'vue'; -import { ClassComponent, GlobalComponentConstructor } from '../ts-helpers'; +import { ClassComponent, GlobalComponentConstructor, Nullable } from '../ts-helpers'; type PasswordAppendToType = 'body' | 'self' | string | undefined; @@ -7,7 +7,7 @@ export interface PasswordProps extends InputHTMLAttributes { /** * Value of the component. */ - modelValue?: string | undefined; + modelValue?: Nullable; /** * Text to prompt password entry. Defaults to PrimeVue Locale configuration. */