Open andreaspabst opened 2 years ago
Typescript, Vue 3 and my app are working well. But vetur is complaining
Cannot find namespace 'App'.Vetur(2503
Component.vue
<script lang="ts"> import { defineComponent, PropType } from "vue"; export default defineComponent({ props: { product: { type: Object as PropType<App.Models.Product>, required: true } }, setup() { } }); </script>
Typescript, Vue 3 and my app are working well. But vetur is complaining
Component.vue