Uncaught (in promise) TypeError: Class constructor Base cannot be invoked without 'new'
at new Recipient (Recipient.ts?8a02:18)
at _callee$ (VM3962 HelloWorld.vue:45)
at tryCatch (runtime.js?96cf:62)
at Generator.invoke [as _invoke] (runtime.js?96cf:288)
at Generator.prototype.(:8080/anonymous function) [as next] (webpack-internal:///./node_modules/regenerator-runtime/runtime.js:114:21)
at eval (tslib.es6.js?9ab4:71)
at new Promise (<anonymous>)
at Module.__awaiter (tslib.es6.js?9ab4:67)
at VueComponent.onClick (VM3962 HelloWorld.vue:36)
at VueComponent.emitter (vue-property-decorator.js?60a3:112)
I am new to typescript and dont know how to interpret the errors, any help is appreciated.
Created a new model called Recipient
And iam trying to use this in the component as follows.
I used https://github.com/1amageek/vue-pring-sample project and just added above code. After adding the above code I am getting the following error.
I am new to typescript and dont know how to interpret the errors, any help is appreciated.
Thank you,