laravel-typescript icon indicating copy to clipboard operation
laravel-typescript copied to clipboard

Vetur Cannot find namespace 'App'.Vetur(2503)

Open andreaspabst opened this issue 3 years ago • 0 comments

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>

andreaspabst avatar Jan 05 '22 15:01 andreaspabst