ERROR Failed to compile with 1 error
ERROR in ./assets/js/components/organizationMap.vue.ts(64,25)
TS2350: Only a void function can be called with the 'new' keyword.
line 64 is: this.panoramadata = new Viewer(config);
_____^
What am I doing wrong?
why such a mistake?
Thank you!
hi a'm use Vue
and create new Viewer
Result:
ERROR Failed to compile with 1 error ERROR in ./assets/js/components/organizationMap.vue.ts(64,25) TS2350: Only a void function can be called with the 'new' keyword.
line 64 is: this.panoramadata = new Viewer(config); _____^
What am I doing wrong? why such a mistake? Thank you!