fix: resolve TypeScript errors in frontend build
This commit is contained in:
38
node_modules/@tiptap/extension-underline/dist/index.d.cts
generated
vendored
Normal file
38
node_modules/@tiptap/extension-underline/dist/index.d.cts
generated
vendored
Normal file
@@ -0,0 +1,38 @@
|
||||
import { Mark } from '@tiptap/core';
|
||||
|
||||
interface UnderlineOptions {
|
||||
/**
|
||||
* HTML attributes to add to the underline element.
|
||||
* @default {}
|
||||
* @example { class: 'foo' }
|
||||
*/
|
||||
HTMLAttributes: Record<string, any>;
|
||||
}
|
||||
declare module '@tiptap/core' {
|
||||
interface Commands<ReturnType> {
|
||||
underline: {
|
||||
/**
|
||||
* Set an underline mark
|
||||
* @example editor.commands.setUnderline()
|
||||
*/
|
||||
setUnderline: () => ReturnType;
|
||||
/**
|
||||
* Toggle an underline mark
|
||||
* @example editor.commands.toggleUnderline()
|
||||
*/
|
||||
toggleUnderline: () => ReturnType;
|
||||
/**
|
||||
* Unset an underline mark
|
||||
* @example editor.commands.unsetUnderline()
|
||||
*/
|
||||
unsetUnderline: () => ReturnType;
|
||||
};
|
||||
}
|
||||
}
|
||||
/**
|
||||
* This extension allows you to create underline text.
|
||||
* @see https://www.tiptap.dev/api/marks/underline
|
||||
*/
|
||||
declare const Underline: Mark<UnderlineOptions, any>;
|
||||
|
||||
export { Underline, type UnderlineOptions, Underline as default };
|
||||
Reference in New Issue
Block a user