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

5
node_modules/@tiptap/extension-text/src/index.ts generated vendored Normal file
View File

@@ -0,0 +1,5 @@
import { Text } from './text.js'
export * from './text.js'
export default Text

20
node_modules/@tiptap/extension-text/src/text.ts generated vendored Normal file
View File

@@ -0,0 +1,20 @@
import { Node } from '@tiptap/core'
/**
* This extension allows you to create text nodes.
* @see https://www.tiptap.dev/api/nodes/text
*/
export const Text = Node.create({
name: 'text',
group: 'inline',
parseMarkdown: token => {
// Convert 'text' token to text node - text nodes are special as they store text directly
return {
type: 'text',
text: token.text || '',
}
},
renderMarkdown: node => node.text || '',
})