10000 Suddenly Volar report that `Property "X" does not exists on type ...` · vue-macros vue-macros · Discussion #820 · GitHub
[go: up one dir, main page]

Skip to content

Suddenly Volar report that Property "X" does not exists on type ... #820

Closed Answered by zhiyuanzmj
Neoterux asked this question in Q&A
Discussion options

You must be logged in to vote

The option should be optional.

declare module 'vue/types/options' {
    interface ComponentOptions<V extends Vue> {
        $exampleProp?: string
        //          ^
    }
}

Replies: 5 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by sxzz
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
0