@doccov/sdk 0.3.1 → 0.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.js +2 -2
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -3212,8 +3212,8 @@ function deriveImportPath(sourceFile, baseDir) {
3212
3212
  function resolveExportTarget(symbol, checker) {
3213
3213
  let targetSymbol = symbol;
3214
3214
  if (symbol.flags & ts2.SymbolFlags.Alias) {
3215
- const aliasTarget = checker.getImmediateAliasedSymbol(symbol);
3216
- if (aliasTarget) {
3215
+ const aliasTarget = checker.getAliasedSymbol(symbol);
3216
+ if (aliasTarget && aliasTarget !== symbol) {
3217
3217
  targetSymbol = aliasTarget;
3218
3218
  }
3219
3219
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@doccov/sdk",
3
- "version": "0.3.1",
3
+ "version": "0.3.2",
4
4
  "description": "DocCov SDK - Documentation coverage and drift detection for TypeScript",
5
5
  "keywords": [
6
6
  "typescript",