Skip to content

Commit 28c2ad5

Browse files
committed
Add test case for nested object spread / methods
See microsoft#16765.
1 parent 20a94ec commit 28c2ad5

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
const obj = {};
2+
const a = {
3+
...obj,
4+
prop() {
5+
return {
6+
...obj,
7+
metadata: 213
8+
};
9+
}
10+
};

0 commit comments

Comments
 (0)