You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Somtimes generating inline imports for d.ts files instead of using globally imported symbols #30258
It references types from other modules via inline import statements. This causes a problem when generating documentation via the https://www.npmjs.com/package/@microsoft/api-documenter tool, because these inline import statements appear as is in the generated documentation. Instead of just the types they point to. This renders the documentation basically unreadable.
Expected behaviour
I would expect output similar to this:
Activity
RyanCavanaugh commentedon Mar 7, 2019
We intentionally don't synthesize imports; writing an inline import is more predictable on our end and doesn't require any name collision logic.
If you add those imports to the file yourself, they'll be used, so I'd recommend doing that.
typescript-bot commentedon Mar 10, 2019
This issue has been marked 'Working as Intended' and has seen no recent activity. It has been automatically closed for house-keeping purposes.