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.
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.