Skip to content

test(lexer): cover TypeScript default reexports in extended mode - #137

Open
BridgeAR wants to merge 1 commit into
mainfrom
BridgeAR/2026-10-27-ts-default-reexports
Open

BridgeAR wants to merge 1 commit into
mainfrom
BridgeAR/2026-10-27-ts-default-reexports

Conversation

@BridgeAR

Copy link
Copy Markdown
Member

TypeScript emits default reexports with an __importDefault call inside a getter. Default mode excludes the name because the call falls outside its getter patterns. Extended mode must retain the name even after an exports.bar = void 0 declaration.

Refs: #76

TypeScript emits default reexports with an __importDefault call inside a
getter. Default mode excludes the name because the call falls outside its
getter patterns. Extended mode must retain the name even after an
exports.bar = void 0 declaration.

Refs: #76
Signed-off-by: Ruben Bridgewater <ruben.bridgewater@datadoghq.com>
@BridgeAR
BridgeAR marked this pull request as ready for review October 27, 2026 17:37
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.

1 participant