Skip to content

Commit be66629

Browse files
authored
export the AwaitTxIdFn from the electric-db-collection package (#398)
1 parent 6250a92 commit be66629

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/petite-cameras-pump.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@tanstack/electric-db-collection": patch
3+
---
4+
5+
Export the `AwaitTxIdFn` type to ensure that building with types works correctly.

packages/electric-db-collection/src/index.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ export {
33
type ElectricCollectionConfig,
44
type ElectricCollectionUtils,
55
type Txid,
6+
type AwaitTxIdFn,
67
} from "./electric"
78

89
export * from "./errors"

0 commit comments

Comments
 (0)