Skip to content

[API Extractor] Initial implementation of member trimming - #567

Merged
Pete Gonzalez (octogonz) merged 13 commits into
masterfrom
pgonzal/ae-trimming-5
Mar 20, 2018
Merged

Pete Gonzalez (octogonz) merged 13 commits into
masterfrom
pgonzal/ae-trimming-5

Conversation

@octogonz

@octogonz Pete Gonzalez (octogonz) commented Mar 17, 2018 •

Copy link
Copy Markdown
Collaborator

API Extractor's *.d.ts generator now correctly trims nested members of API items according to their release tag.

It also now correctly calculates the release tag for symbols with multiple declarations, for example:

namespace NS {
  // This is beta by inheritance from the other NS declaration below
  interface INested {
  }

  interface IMerged {
    // This is alpha by inheritance from the other IMerged declaration below
    x: string;
  }
}

/** @beta */
namespace NS {
  /** @alpha */
  interface IMerged {
  }
}

…lings

For example:

```
interface IMerged {
  // This is beta because of the merged parent below
  x: string;
}

/** @beta */
interface IMerged {
}

```
@octogonz
Pete Gonzalez (octogonz) merged commit 3e02a94 into master Mar 20, 2018
@octogonz
Pete Gonzalez (octogonz) deleted the pgonzal/ae-trimming-5 branch May 2, 2018 04:19
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

Successfully merging this pull request may close these issues.

2 participants