Files
tsgo/testdata/baselines/reference/submoduleAccepted/conformance/objectSpreadNegative(target=es2015).errors.txt.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 }
~~~~~~~