Complete the fields of L with the ones of L1. This is a version of Merge that does NOT handle optional fields, it only completes fields of O with the ones of O1 if they don't exist.
L
L1
O
O1
(⚠️ needs --strictNullChecks enabled)
--strictNullChecks
to complete
to copy from
(?='flat') 'deep' to do it deeply
'flat'
(?=BuiltIn) types not to merge
BuiltIn
(?=never) types of O to be replaced with ones of O1
never
List
Complete the fields of
L
with the ones ofL1
. This is a version of Merge that does NOT handle optional fields, it only completes fields ofO
with the ones ofO1
if they don't exist.(⚠️ needs
--strictNullChecks
enabled)