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

54
node_modules/@tiptap/extension-italic/dist/index.d.cts generated vendored Normal file
View File

@@ -0,0 +1,54 @@
import { Mark } from '@tiptap/core';
interface ItalicOptions {
/**
* HTML attributes to add to the italic element.
* @default {}
* @example { class: 'foo' }
*/
HTMLAttributes: Record<string, any>;
}
declare module '@tiptap/core' {
interface Commands<ReturnType> {
italic: {
/**
* Set an italic mark
* @example editor.commands.setItalic()
*/
setItalic: () => ReturnType;
/**
* Toggle an italic mark
* @example editor.commands.toggleItalic()
*/
toggleItalic: () => ReturnType;
/**
* Unset an italic mark
* @example editor.commands.unsetItalic()
*/
unsetItalic: () => ReturnType;
};
}
}
/**
* Matches an italic to a *italic* on input.
*/
declare const starInputRegex: RegExp;
/**
* Matches an italic to a *italic* on paste.
*/
declare const starPasteRegex: RegExp;
/**
* Matches an italic to a _italic_ on input.
*/
declare const underscoreInputRegex: RegExp;
/**
* Matches an italic to a _italic_ on paste.
*/
declare const underscorePasteRegex: RegExp;
/**
* This extension allows you to create italic text.
* @see https://www.tiptap.dev/api/marks/italic
*/
declare const Italic: Mark<ItalicOptions, any>;
export { Italic, type ItalicOptions, Italic as default, starInputRegex, starPasteRegex, underscoreInputRegex, underscorePasteRegex };