During the development of my project using Vite, Vue 3, and TypeScript, I have set up vue-tsc to run in watch mode. I am utilizing VS Code along with Volar. This setup has been helpful as it displays all TypeScript errors in the console as expected, but I am also encountering additional errors from vue-tsc which are not present with Volar.
One specific error states that state.month is not compatible with type Date, even though it should be Date.
vue-tsc https://i.sstatic.net/8vTh3.png
In comparison, volar does not highlight this error for the same component https://i.sstatic.net/wGQU6.png
piece of code within the component's state where state.month is defined as Date. https://i.sstatic.net/KFZxU.png
I would appreciate some assistance. Could I have missed something important?