Skip to content

feat(processor): auto-map type aliases dynamically#134

Merged
bjohansebas merged 1 commit into
webpack:mainfrom
moshams272:feat/dynamic-alias-mapping
Jun 13, 2026
Merged

feat(processor): auto-map type aliases dynamically#134
bjohansebas merged 1 commit into
webpack:mainfrom
moshams272:feat/dynamic-alias-mapping

Conversation

@moshams272

Copy link
Copy Markdown
Contributor

Summary

This PR resolves mismatches for aliased exports (e.g., export { CacheClass as Cache }) issue mentioned in #132.

Implementing dynamic alias resolution in the typeMap.mjs by updating createTypeMap to use the escapedName property from TypeDoc reflections that holds the aliased name (e.g., CacheClass), As this property will exist in the exported type if it was aliased.

Before:
image

After:
image

@vercel

vercel Bot commented Jun 13, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
webpack-doc-kit Ready Ready Preview, Comment Jun 13, 2026 7:07am

Request Review

@bjohansebas bjohansebas merged commit b5c9ca5 into webpack:main Jun 13, 2026
4 checks passed
@moshams272 moshams272 deleted the feat/dynamic-alias-mapping branch June 14, 2026 02:13
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.

3 participants