fix: resolve TypeScript errors in frontend build

This commit is contained in:
Hiro
2026-03-30 23:16:07 +00:00
parent b733306773
commit 24925e1acb
2941 changed files with 418042 additions and 49 deletions

View File

@@ -0,0 +1,34 @@
import { Node } from '@tiptap/core';
interface HorizontalRuleOptions {
/**
* The HTML attributes for a horizontal rule node.
* @default {}
* @example { class: 'foo' }
*/
HTMLAttributes: Record<string, any>;
/**
* The default type to insert after the horizontal rule.
* @default "paragraph"
* @example "heading"
*/
nextNodeType: string;
}
declare module '@tiptap/core' {
interface Commands<ReturnType> {
horizontalRule: {
/**
* Add a horizontal rule
* @example editor.commands.setHorizontalRule()
*/
setHorizontalRule: () => ReturnType;
};
}
}
/**
* This extension allows you to insert horizontal rules.
* @see https://www.tiptap.dev/api/nodes/horizontal-rule
*/
declare const HorizontalRule: Node<HorizontalRuleOptions, any>;
export { HorizontalRule, type HorizontalRuleOptions, HorizontalRule as default };