diff --git a/.changeset/petite-cameras-pump.md b/.changeset/petite-cameras-pump.md new file mode 100644 index 000000000..eb7485010 --- /dev/null +++ b/.changeset/petite-cameras-pump.md @@ -0,0 +1,5 @@ +--- +"@tanstack/electric-db-collection": patch +--- + +Export the `AwaitTxIdFn` type to ensure that building with types works correctly. diff --git a/packages/electric-db-collection/src/index.ts b/packages/electric-db-collection/src/index.ts index 3ea33db14..ac436bcf7 100644 --- a/packages/electric-db-collection/src/index.ts +++ b/packages/electric-db-collection/src/index.ts @@ -3,6 +3,7 @@ export { type ElectricCollectionConfig, type ElectricCollectionUtils, type Txid, + type AwaitTxIdFn, } from "./electric" export * from "./errors"