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

Warning js vue component #17

Closed
miaulightouch opened this issue Jul 21, 2021 · 1 comment
Closed

Warning js vue component #17

miaulightouch opened this issue Jul 21, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@miaulightouch
Copy link

if there's at least one js vue component referenced, it would cause error when building.

maybe it should warn user check the type, or just ask user change "allowJs" option to true in tsconfig.json?

@qmhc
Copy link
Owner

qmhc commented Jul 21, 2021

This is the behavior of typescript that will only cause the declaration files generation to fail.

But it is not a good experience really, some optimizations will be done later.

@qmhc qmhc added the enhancement New feature or request label Jul 21, 2021
@qmhc qmhc closed this as completed in 36f8de2 Jul 21, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants