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

API does not find prop definitions for imported classes [Lit Element] #207

Open
brownieboy opened this issue Apr 18, 2021 · 0 comments
Open

Comments

@brownieboy
Copy link

brownieboy commented Apr 18, 2021

Test with Lit Element, I've found that the API (analyzeText function) does not find prop and event definitions when you extend a class from another class that was imported. If both parent and child classes are defined within the same .ts file, then the API call works.

When using the CLI, both cases work.

I've set up test cases in this repo https://github.com/brownieboy/wca-traverse-test. Check the readme.md file for full details.

@brownieboy brownieboy changed the title API does not find prop definitions for imported classes [Lit Element API does not find prop definitions for imported classes [Lit Element] Apr 18, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant