Solution to Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. | Jon
Why Use TypeScript with Vue.js? - Vue School Articles
How to Use TypeScript with Vue.js: Your Go-to Guide | JavaScript in Plain English