Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(jsii): better usage reporting of private types (#247)
Anonymous types that are deduced by TypeScript get reported as: Cannot use private type __object in exported declarations The usage location would not be reported however, because the field 'symbol.valueDeclaration' was empty. There are locations in 'symbol.declarations' though, so we use that as a fallback instead, which works.
- Loading branch information