Skip to content

2.3.1

Compare
Choose a tag to compare
@tylim88 tylim88 released this 11 Feb 01:19
· 338 commits to main since this release
  • 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