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

Get only exported symbols from main file #598

Open
CauveryRaja25 opened this issue Apr 29, 2024 · 0 comments
Open

Get only exported symbols from main file #598

CauveryRaja25 opened this issue Apr 29, 2024 · 0 comments

Comments

@CauveryRaja25
Copy link

getMainFileSymbols returns all available symbols within the file, including imported types. We need only the exported symbols. Is there any way to figure out, whether a symbol is exported or not ?

Usecase:
We need to generate separate schema files for each exported symbol. Currently duplicate and unnecessary files are getting generated because of all these private symbols.

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