Background
checkOptions and checkinitialData (in src/index.ts) are no longer used internally as of #740, which tightened ReactFireOptions generics and rewrote checkIdField to read options?.idField directly.
Removing them is a breaking change for any consumer importing them (an ESM import error at load, not just a type change), so per review on #740 we're keeping them as dead exports for now and deferring removal to v5.
To do in v5
Notes
Context: #740.
Background
checkOptionsandcheckinitialData(insrc/index.ts) are no longer used internally as of #740, which tightenedReactFireOptionsgenerics and rewrotecheckIdFieldto readoptions?.idFielddirectly.Removing them is a breaking change for any consumer importing them (an ESM import error at load, not just a type change), so per review on #740 we're keeping them as dead exports for now and deferring removal to v5.
To do in v5
checkOptionsfromsrc/index.tscheckinitialDatafromsrc/index.tsnpm run docs:fork) to dropdocs/reference/functions/checkOptions.mdandcheckinitialData.mdNotes
checkIdFieldstays (still used by the Firestore data hooks).checkinitialData's inferred return type is nowunknown(wasany). Harmless while it's unused, but another reason to retire it.Context: #740.