Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[api-extractor] Items exported with "export =" not included in the API report #2338

Open
1 of 2 tasks
hiranya911 opened this issue Nov 4, 2020 · 0 comments
Open
1 of 2 tasks

Comments

@hiranya911
Copy link
Contributor

Is this a feature or a bug?

  • Feature
  • Bug

TypeScript allows exporting a single item from a module using the export = syntax: https://www.typescriptlang.org/docs/handbook/modules.html#export--and-import--require

declare class ZipCodeValidator {

}

export = ZipCodeValidator;

API Extractor currently doesn't support modules declared this way. The API report for the above example is empty:

// (No @packageDocumentation comment for this package)
  • Tool: API Extractor
  • Tool Version: 7.11.2
  • Node Version: 10.22.0
    • Is this a LTS version? Yes
  • OS: Mac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: AE/AD
Development

No branches or pull requests

1 participant