Property 'XXX' does not exist on type 'CombinedVueInstance>>'

后端 未结 4 2043
醉话见心
醉话见心 2021-01-18 04:27

I created a vue component with TypeScript, and I\'m getting this error in data() and in methods():

Property \'xxx\' does not exist          


        
4条回答
  •  醉话见心
    2021-01-18 04:58

    Same issue is described here https://www.gitmemory.com/issue/vuejs/vue/9873/485481541

    As its a problem with TS 3.4.x, 3.9.6 works very well for me now

提交回复
热议问题