fix: resolve TypeScript errors in frontend build
This commit is contained in:
41
node_modules/@tiptap/extension-blockquote/dist/index.d.ts
generated
vendored
Normal file
41
node_modules/@tiptap/extension-blockquote/dist/index.d.ts
generated
vendored
Normal file
@@ -0,0 +1,41 @@
|
||||
import { Node } from '@tiptap/core';
|
||||
|
||||
/** @jsxImportSource @tiptap/core */
|
||||
|
||||
interface BlockquoteOptions {
|
||||
/**
|
||||
* HTML attributes to add to the blockquote element
|
||||
* @default {}
|
||||
* @example { class: 'foo' }
|
||||
*/
|
||||
HTMLAttributes: Record<string, any>;
|
||||
}
|
||||
declare module '@tiptap/core' {
|
||||
interface Commands<ReturnType> {
|
||||
blockQuote: {
|
||||
/**
|
||||
* Set a blockquote node
|
||||
*/
|
||||
setBlockquote: () => ReturnType;
|
||||
/**
|
||||
* Toggle a blockquote node
|
||||
*/
|
||||
toggleBlockquote: () => ReturnType;
|
||||
/**
|
||||
* Unset a blockquote node
|
||||
*/
|
||||
unsetBlockquote: () => ReturnType;
|
||||
};
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Matches a blockquote to a `>` as input.
|
||||
*/
|
||||
declare const inputRegex: RegExp;
|
||||
/**
|
||||
* This extension allows you to create blockquotes.
|
||||
* @see https://tiptap.dev/api/nodes/blockquote
|
||||
*/
|
||||
declare const Blockquote: Node<BlockquoteOptions, any>;
|
||||
|
||||
export { Blockquote, type BlockquoteOptions, Blockquote as default, inputRegex };
|
||||
Reference in New Issue
Block a user