Skip to content

Commit

Permalink
fix type error
Browse files Browse the repository at this point in the history
  • Loading branch information
paulsonnentag committed Jan 12, 2024
1 parent f918cba commit 787bb33
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions packages/automerge-repo/src/Repo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ import {
import {
ChangeMetadataFunction,
DocHandle,
ChangeMetadata,
DocHandleEncodedChangePayload,
DocHandleChangeOptions,
} from "./DocHandle.js"
Expand Down Expand Up @@ -368,7 +367,7 @@ export class Repo extends EventEmitter<RepoEvents> {
* an empty object `{}`. Its documentId is generated by the system. we emit a `document` event
* to advertise interest in the document.
*/
create<T>(options: CreateDocHandleOptions = {}): DocHandle<T> {
create<T>(options: DocHandleChangeOptions<T> = {}): DocHandle<T> {
// TODO:
// either
// - pass an initial value and do something like this to ensure that you get a valid initial value
Expand Down

0 comments on commit 787bb33

Please sign in to comment.