4bc0d85d29
1. Make sure that spreading `object` doesn't lose everything to the left. 2. Update baselines to show that `{ ...object }` is now `{}`.
2 lines
83 B
TypeScript
2 lines
83 B
TypeScript
declare let o: object;
|
|
const x: { a: number, b: number } = { a: 1, ...o, b: 2 };
|