diff --git a/docs/src/docPages/guide/typescript.md b/docs/src/docPages/guide/typescript.md index 79f9b3a14..bb04e63b8 100644 --- a/docs/src/docPages/guide/typescript.md +++ b/docs/src/docPages/guide/typescript.md @@ -38,10 +38,12 @@ import { Command, Extension } from '@tiptap/core' declare module '@tiptap/core' { interface Commands { - /** - * Comments will be added to the autocomplete. - */ - yourCommand: (someProp: any) => Command, + customExtension: { + /** + * Comments will be added to the autocomplete. + */ + yourCommand: (someProp: any) => Command, + } } }