Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
gluons opened this issue Nov 4, 2017 · 4 comments
Closed
Assignees

Comments

@gluons
Copy link
Owner

gluons commented Nov 4, 2017

ไม่สามารถ 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

@gluons gluons self-assigned this Nov 4, 2017
@gluons
Copy link
Owner Author

gluons commented Nov 5, 2017

Temporarily fix by 6ad0629

@gluons
Copy link
Owner Author

gluons commented Nov 11, 2017

Update: Waiting for vuejs/vue#7002 to be released. 🙌

@gluons
Copy link
Owner Author

gluons commented Nov 17, 2017

Vue v2.5.4 released. 🎉

I'm going to upgrade.

@trusktr
Copy link

trusktr commented Dec 21, 2019

I've opened a request to fix this in TypeScript. microsoft/TypeScript#35822

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants