Skip to content

JS: Object.defineProperty "undefined namespaces" don't merge cross-file #32979

Description

// @filename: 1.tsObject.defineProperty(a.c,"prototype",{value: {}})// @filename: 2.tsconsta={}a.c=function(){}

Expected behavior:
Behave the same as a.c.prototype = {} does today. (as seen in jsContainerMergeJsContainer)

Related Issues:
follow-on work discovered in #32944

Metadata

Metadata

Labels

BugA bug in TypeScript

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions