Skip to content

Default export of the module has or is using private name 'VueConstructor' #5

@gluons

Description

@gluons

ไม่สามารถ build ผ่านได้เมื่อ upgrade เป็น Vue 2.5
พบกับ error

Default export of the module has or is using private name 'VueConstructor'

เป็นปัญหาที่เกิดจาก compilerOptions -> declaration: true ใน tsconfig.json

ใน forum: https://forum.vuejs.org/t/default-export-of-the-module-has-or-is-using-private-name-vueconstructor/19624

Repo ที่ใช้ repro ปัญหานี้: gluons/vue-typescript-export-issue

รายงานปัญหาแล้วที่ vuejs/vue#6999

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions