diff --git a/.changeset/export-infer-collection-type.md b/.changeset/export-infer-collection-type.md new file mode 100644 index 000000000..448c2f2ac --- /dev/null +++ b/.changeset/export-infer-collection-type.md @@ -0,0 +1,5 @@ +--- +'@tanstack/db': patch +--- + +Export `InferCollectionType` type helper from package entry point diff --git a/packages/db/src/query/index.ts b/packages/db/src/query/index.ts index c8a8d5e38..24e1f6ec5 100644 --- a/packages/db/src/query/index.ts +++ b/packages/db/src/query/index.ts @@ -11,6 +11,7 @@ export { type Source, type GetResult, type InferResultType, + type InferCollectionType, type ExtractContext, type QueryResult, // Types needed for declaration emit (https://github.com/TanStack/db/issues/1012)