2.3.1
- remove most of the need to assert as const, greatly improve user experience when dealing with literal types (very few cases still need to assert as const)
type ABC = MetaTypeCreator<
{
a: 1 | 2 | 3 // literal type
},
'ABC'
>
const ColRef = getFirelord<ABC>(db, 'ABC').collection()
query(ColRef, where('a', '>', 1)) // before v2.3.1 this will error and require const assertion `1 as const`, now it no longer requires const assertion
- tons of housekeeping