diff --git a/packages/crdt/package.json b/packages/crdt/package.json index 5cd121b6cb345385184e635ff408e31211142e80..e3e7ed9277f40b9c9af4a2845cd42437a9b6aa62 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 a42b13ead3461211bc5a7a574fcfe1a49fd5ab2c..d5d273fee9feb14d185a6d9cf3a1485db43fb363 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 ff5d5dacb31f3c76732f35a31aa922ed2a595a8a..0a632cac04c65ec74d77b52bb48bed01f7f8c53c 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 0000000000000000000000000000000000000000..19641b7545fb5b0a78764f2a582a1993b36866d1 --- /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