Head
head(): { title: string } { switch (this.error.statusCode) { case 404: this.title = this.pageNotFound break case 500: this.title = this.serverError break default: this.title = this.otherError break } return { title: this.title, } },
Computed
computed: { trueOrFalse(): string { return this.myDataPoint ? 'is-true' : 'is-false'; } }
Property 'xxx' does not exist on type CombinedVueInstance ? · Issue #8721 · vuejs/vue
SunshowerC changed the title Property 'xxx' does not exist on type CombinedVueInstance Property 'xxx' does not exist on type CombinedVueInstance ? Aug 28, 2018 kparkov added a commit to NationalMuseumofDenmark/official.frontend.component that referenced this issue Mar 20, 2020 3starblaze added a commit to 3starblaze/mini-tomato-timer that referenced this issue Sep 1, 2020 Typescript can't find methods unless computed properties are annotated, seevuejs/vue#8721 You can't perform that action at this time.
https://github.com/vuejs/vue/issues/8721
