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
generation fails if sfc has additional type/interface/class declarations #11
Comments
I guess this is because |
@ktsn , I modified the following change:
It still fails in the same manner. If you would like, I could submit a pull request for this unit test... Or you can tinker with my fork (specifically the genfail branch) |
PR for unit test is welcome 🙂 |
Supplied: unit test for generation fails if sfc has additional type/interface/class declarations #12 |
See #12 (comment) |
As a simple example, this sfc:
Will not generate a
*.vue.d.ts
file. A little digging shows that the following line in language-service.ts:Will emit
I have a unit test demonstrating this, and can provide as a pull request if you would like, but it would break the CI unless you fixed this issue...
The text was updated successfully, but these errors were encountered: