We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Describe the bug The type definition of year slot seems to be incorrect.
year
The document says that value will be passed from the year slot.
value
I also confirmed that I can use value to show the year. However, according to the type definition, I'm supposed to use year instead of value.
vue-datepicker/index.d.ts
Line 404 in 7eceb72
Because of that, if I follow the document instruction, I get a type error.
To Reproduce N/A
Expected behavior
I assume the type definition needs to be like this:
year(props: { text: string; value: number }): any;
Screenshots
Desktop & mobile (please complete the following information): N/A
The text was updated successfully, but these errors were encountered:
94dbdde
No branches or pull requests
Describe the bug
The type definition of
year
slot seems to be incorrect.The document says that
value
will be passed from theyear
slot.I also confirmed that I can use
value
to show the year.However, according to the type definition, I'm supposed to use
year
instead ofvalue
.vue-datepicker/index.d.ts
Line 404 in 7eceb72
Because of that, if I follow the document instruction, I get a type error.
To Reproduce
N/A
Expected behavior
I assume the type definition needs to be like this:
Screenshots
Desktop & mobile (please complete the following information):
N/A
The text was updated successfully, but these errors were encountered: