Skip to content

A local-first personal finance app

:bug: (crdt) export Clock as a type to fix warning (#1434)

Matiss Janis Aboltins5f76067190b9
diff --git a/packages/crdt/package.json b/packages/crdt/package.json
index 5cd121b6cb..e3e7ed9277 100644
--- a/packages/crdt/package.json
+++ b/packages/crdt/package.json
@@ -1,6 +1,6 @@
{
"name": "@actual-app/crdt",
- "version": "2.0.1",
+ "version": "2.0.2",
"license": "MIT",
"description": "CRDT layer of Actual",
"main": "dist/index.js",
diff --git a/packages/crdt/src/crdt/index.ts b/packages/crdt/src/crdt/index.ts
index a42b13ead3..d5d273fee9 100644
--- a/packages/crdt/src/crdt/index.ts
+++ b/packages/crdt/src/crdt/index.ts
@@ -8,6 +8,6 @@ export {
makeClientId,
serializeClock,
deserializeClock,
- Clock,
+ type Clock,
Timestamp,
} from './timestamp';
diff --git a/packages/crdt/src/main.ts b/packages/crdt/src/main.ts
index ff5d5dacb3..0a632cac04 100644
--- a/packages/crdt/src/main.ts
+++ b/packages/crdt/src/main.ts
@@ -7,7 +7,7 @@ export {
makeClientId,
serializeClock,
deserializeClock,
- Clock,
+ type Clock,
Timestamp,
} from './crdt';
diff --git a/upcoming-release-notes/1434.md b/upcoming-release-notes/1434.md
new file mode 100644
index 0000000000..19641b7545
--- /dev/null
+++ b/upcoming-release-notes/1434.md
@@ -0,0 +1,6 @@
+---
+category: Bugfix
+authors: [MatissJanis]
+---
+
+`crdt`: export `Clock` as a type - fix a console warning