We are currently exploring a pre-existing web project that utilizes Vue.js to enhance the pages generated by an ASP.NET Core project. The client side of the project is already developed in JavaScript 6+ (with modules and so on), and we are considering rewriting it in TypeScript.
Converting the existing JavaScript 6+ codebase to TypeScript should not pose a significant challenge, but I am uncertain about how to incorporate type information when utilizing the options API without relying on Vue components or its CLI.
For example, I am unsure of how to obtain the correct type for a property from the object returned by the data method.
Any guidance would be greatly appreciated. Thank you.