Skip to content

Commit

Permalink
Merge pull request #345 from automerge/export-type-for-cursor
Browse files Browse the repository at this point in the history
Use "export type" to export Cursor type
  • Loading branch information
pvh authored Apr 29, 2024
2 parents 19fd7ff + bca1eb7 commit 01d9f4b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/automerge-repo/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ export type {
export * from "./types.js"

// export commonly used data types
export { Counter, RawString, Cursor } from "@automerge/automerge/next"
export { Counter, RawString } from "@automerge/automerge/next"

// export some automerge API types
export type {
Expand All @@ -108,6 +108,7 @@ export type {
MarkSet,
MarkRange,
MarkValue,
Cursor,
} from "@automerge/automerge/next"

// export a few utility functions that aren't in automerge-repo
Expand Down

0 comments on commit 01d9f4b

Please sign in to comment.