UNPKG

@tiptap/starter-kit

Version:

starter kit for tiptap

14 lines (13 loc) 369 B
import { RawCommands } from '../types.js'; declare module '@tiptap/core' { interface Commands<ReturnType> { exitCode: { /** * Exit from a code block. * @example editor.commands.exitCode() */ exitCode: () => ReturnType; }; } } export declare const exitCode: RawCommands['exitCode'];