I am facing an issue. Even with a TypeScript error in the code, the IDE shows an error, but I am still able to save it and run it in the browser. Is this acceptable?
Check out the code below:
<script lang="ts" setup>
const a = ref<string>(5);
</script>
I have already attempted using export default and export default defineComponent(), but unfortunately, it did not resolve the issue.
Attached is the screenshot of my IDE: https://i.sstatic.net/UHOrq.png