typescript-json-schema
typescript-json-schema copied to clipboard
Get only exported symbols from main file
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.