rename AllCommands to Commands

This commit is contained in:
Philipp Kühn
2021-02-16 18:39:37 +01:00
parent a705134998
commit 56b4df044f
74 changed files with 76 additions and 76 deletions

View File

@@ -50,7 +50,7 @@ function getMapFromOptions(options: AnnotationOptions): Y.Map<any> {
}
declare module '@tiptap/core' {
interface AllCommands {
interface Commands {
annotation: {
addAnnotation: (data: any) => Command,
updateAnnotation: (id: string, data: any) => Command,

View File

@@ -7,7 +7,7 @@ export interface DetailsOptions {
}
declare module '@tiptap/core' {
interface AllCommands {
interface Commands {
details: {
/**
* Set a details node

View File

@@ -8,7 +8,7 @@ export interface IframeOptions {
}
declare module '@tiptap/core' {
interface AllCommands {
interface Commands {
iframe: {
/**
* Add an iframe