| 22 | } |
| 23 | |
| 24 | export interface ReactFireOptions<T = unknown> { |
| 25 | idField?: string; |
| 26 | initialData?: T | any; |
| 27 | /** |
| 28 | * @deprecated use initialData instead |
| 29 | */ |
| 30 | startWithValue?: T | any; |
| 31 | suspense?: boolean; |
| 32 | } |
| 33 | |
| 34 | export function checkOptions(options: ReactFireOptions, field: string) { |
| 35 | // make sure the field passed in is a valid key of ReactFire Options |
nothing calls this directly
no outgoing calls
no test coverage detected