How to use the @microsoft/api-extractor.ApiModel function in @microsoft/api-extractor

To help you get started, we’ve selected a few @microsoft/api-extractor examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github shlomiassaf / ngrid / tools / ng-packagr.transformers / api-docs / index.ts View on Github external
static fromSerializedPackages(...jsonPaths: string[]): ApiDocs {
    const apiModel = new ApiModel();
    for (const j of jsonPaths) {
      apiModel.loadPackage(j);
    }
    return new ApiDocs(apiModel);
  }