Skip to content

2.8.7

Choose a tag to compare

@tylim88 tylim88 released this 24 Mar 17:29
· 27 commits to main since this release

fix nested object in mapped type is not partial in update

type DU = MetaTypeCreator<Record<string, { k: Record<`${1 | 2 | 3}`, number> }>, 'abc'>
const du = getFirelord<DU>(getFirestore(), 'abc')
const docRef = du.doc('123')

updateDoc(docRef, { x: { k: { '1': 1 } } }) // unexpected error requires all properties to present, now is fixed