You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This results in an observable difference for console.log({...new Test()}) : tsc version results in {}, esbuild version in {id: undefined}. This difference breaks, for example, the .patch() method of Objection, because patch() does something like this : initialObject.$set(partialUpdate), which overrides non-patched fields to undefined (instead of preserving previous values).
The text was updated successfully, but these errors were encountered:
Typescript :
Code generated by tsc :
Code generated by esbuild :
This results in an observable difference for
console.log({...new Test()})
: tsc version results in{}
, esbuild version in{id: undefined}
. This difference breaks, for example, the.patch()
method of Objection, becausepatch()
does something like this :initialObject.$set(partialUpdate)
, which overrides non-patched fields to undefined (instead of preserving previous values).The text was updated successfully, but these errors were encountered: