Hello!
I'm playing with TanStack DB - awesome job, really excellent experience. Happy to test the early release and report some issues I stumbled upon.
Currently electricCollection options return this:
While createCollection accepts only:
That results in cryptic errors for users with exactOptionalPropertyTypes in tsconfig enabled:
I think it's related to the fact that electricCollectionOptions return type isn't explicit? It seems like most of the rest collection factories are explicitly typed so they get this type sync for free.