```ts // @filename: 1.ts Object.defineProperty(a.c, "prototype", { value: {} }) // @filename: 2.ts const a = {} a.c = function() { } ``` **Expected behavior:** Behave the same as `a.c.prototype = {}` does today. (as seen in jsContainerMergeJsContainer) **Related Issues:** <!-- Did you find other bugs that looked similar? --> follow-on work discovered in #32944