mirror of
https://github.com/hanzoai/tsgo.git
synced 2026-10-30 19:37:15 +00:00
10 lines
560 B
Diff
10 lines
560 B
Diff
--- old.objectSpreadNegative(target=es2015).errors.txt
|
|
+++ new.objectSpreadNegative(target=es2015).errors.txt
|
|
@@= skipped -89, +89 lines =@@
|
|
~~~~~~~
|
|
!!! error TS2783: 'b' is specified more than once, so this usage will be overwritten.
|
|
!!! related TS2785 objectSpreadNegative.ts:37:16: This spread always overwrites this property.
|
|
+!!! related TS2785 objectSpreadNegative.ts:37:23: This spread always overwrites this property.
|
|
let combinedMid: { a: number, b: string, c: boolean } =
|
|
{ ...o3, b: 'ok', ...o4 }
|
|
~~~~~~~
|