diff --git a/packages/automerge-repo/src/Repo.ts b/packages/automerge-repo/src/Repo.ts index 9630a7dc6..22d4916eb 100644 --- a/packages/automerge-repo/src/Repo.ts +++ b/packages/automerge-repo/src/Repo.ts @@ -9,7 +9,6 @@ import { import { ChangeMetadataFunction, DocHandle, - ChangeMetadata, DocHandleEncodedChangePayload, DocHandleChangeOptions, } from "./DocHandle.js" @@ -368,7 +367,7 @@ export class Repo extends EventEmitter { * an empty object `{}`. Its documentId is generated by the system. we emit a `document` event * to advertise interest in the document. */ - create(options: CreateDocHandleOptions = {}): DocHandle { + create(options: DocHandleChangeOptions = {}): DocHandle { // TODO: // either // - pass an initial value and do something like this to ensure that you get a valid initial value