Skip to content

Commit

Permalink
fix: fix type for insertContent command
Browse files Browse the repository at this point in the history
  • Loading branch information
philippkuehn committed Oct 14, 2021
1 parent 8a14131 commit 4295c6b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions packages/core/src/commands/insertContent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,8 @@ declare module '@tiptap/core' {
insertContent: (
value: Content,
options?: {
parseOptions: ParseOptions,
updateSelection: boolean,
parseOptions?: ParseOptions,
updateSelection?: boolean,
},
) => ReturnType,
}
Expand Down
4 changes: 2 additions & 2 deletions packages/core/src/commands/insertContentAt.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ declare module '@tiptap/core' {
position: number | Range,
value: Content,
options?: {
parseOptions: ParseOptions,
updateSelection: boolean,
parseOptions?: ParseOptions,
updateSelection?: boolean,
},
) => ReturnType,
}
Expand Down

0 comments on commit 4295c6b

Please sign in to comment.