Generating Type Definitions from Javascript is blocked by requiring private name #38382
Labels
Needs Investigation
This issue needs a team member to investigate its status.
Rescheduled
This issue was previously scheduled to an earlier milestone
Milestone
TypeScript Version: 3.8.3, 4.0.0-dev.20200506
Search Terms:
Code
Expected behavior:
Creating declarations works
Actual behavior:
Looks like the
add
function was exported as a top level export instead of inside of a class/object.Playground Link: https://repl.it/@stephenash/BitterApprehensivePdf
Open shell and run
npm run build
to trigger errorRelated Issues:
The text was updated successfully, but these errors were encountered: