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

Syntax error in generated types file when using dist-custom-elements-bundle and dist together #2596

Closed
snaptopixel opened this issue Jul 28, 2020 · 0 comments · Fixed by #2597
Labels

Comments

@snaptopixel
Copy link
Contributor

Stencil version:

 @stencil/core@1.17.2<version>

I'm submitting a:

[x] bug report

Current behavior:

When using dist and dist-custom-elements-bundle together, the file index.d.ts is generated in the custom-elements directory which is great! The generated file has an unterminated comment at the very end, which isn't so great :(

It looks like the comment above/for setAssetPath() is the culprit

Expected behavior:

Types file is free of syntax errors

Steps to reproduce:

Use the output targets mentioned and you'll see

Other information:

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

Successfully merging a pull request may close this issue.

1 participant