@tanstack/db
Version:
A reactive client store for building super fast apps on sync
10 lines (9 loc) • 384 B
text/typescript
/**
* Validates the collection config at runtime, providing clear error messages
* for common misconfiguration mistakes that would otherwise surface as
* unreadable TypeScript errors.
*
* This runs before the config is passed to CollectionImpl, catching issues
* early with actionable error messages.
*/
export declare function validateCollectionConfig(config: unknown): void;