VueDatePickerProps textInput
doesn't use the TextInputOptions
interface
#1029
Labels
textInput
doesn't use the TextInputOptions
interface
#1029
I am writing a wrapper component to
VueDatePicker
, in expanding the props I have a TypeScript problem with thetextInput
prop, I noticed that you didn't use theTextInputOptions
interface in the type declaration ofVueDatePickerProps
but you redefined the interface. For some reason, TypeScript isn't able to compute that correctly, and therefore when I try to redefine the props' defaults, it gives me the following:I believe this can be fixed by setting the type in
textInput
prop toinstead of
let me know if this is the solution or if I am overseeing anything, thank you.
Desktop & mobile (please complete the following information):
The text was updated successfully, but these errors were encountered: